getIntranet Multiple Vulnerabilities
Secunia Advisory: SA12520
Release Date: 2004-09-14
Popularity: 4,749 views

Critical:
Moderately critical
Impact: Cross Site Scripting
Manipulation of data
Exposure of sensitive information
Privilege escalation
System access
Where: From local network
Solution Status: Unpatched

Software:getIntranet 2.x

Subscribe: Instant alerts on relevant vulnerabilities


Description:
Criolabs has reported some vulnerabilities in getIntranet, which can be exploited by malicious people to conduct SQL injection and script insertion attacks, access sensitive information, and potentially compromise a vulnerable system.

1) The "welcome.asp" script fails to sanitise input passed to certain parameters before it is used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code and potentially gain system access.

The following parameters are reportedly affected:
http://[victim]/welcome.asp?id=[SQL]
http://[victim]/welcome.asp?page=search.asp&search=[SQL]
http://[victim]/welcome.asp?page=content_display.asp&id=[SQL]
http://[victim]/welcome.asp?page=customer_list.asp&ctype=[SQL]
http://[victim]/welcome.asp?page=calendar_add.asp&id=[SQL]
http://[victim]/welcome.asp?action=invitation&calendarid=[SQL]&ans=1
http://[victim]/welcome.asp?page=employee_detail.asp&lid=&id=[SQL]
http://[victim]/welcome.asp?page=customer_list.asp&ctype=[SQL]
http://[victim]/welcome.asp?page=front_calendar_display.asp&ctype=[SQL]
http://[victim]/welcome.asp?page=calendar_display.asp&id=[SQL]
http://[victim]/welcome.asp?page=front_content_display.asp&ctype=[SQL]
http://[victim]/welcome.asp?page=message_send.asp&id=[SQL]
http://[victim]/welcome.asp?action=delmessage&id=[SQL]
http://[victim]/welcome.asp?page=message.asp&id=[SQL]

2) Input passed to the subject and comments fields for send message and calendar isn't sanitised before being stored in the user profile. This can be exploited to execute arbitrary script code in a user's browser session in context of an affected website when a malicious entry is viewed.

The same problem exists in the register form, which can be exploited to execute arbitrary script code in the context of the administrator on logon.

3) A weak implementation of session IDs can be exploited to access other accounts and view or delete any user's directory, archive, or mail.

Examples:
http://[victim]/welcome.asp?id=[id]&ctype=1&lid=f30&page=folder_detail.asp
http://[victim]/welcome.asp?page=message.asp&id=[id]
http://[victim]/welcome.asp?action=delmessage&id=[id]

4) Authenticated users can use the "fileupload.asp" script to upload arbitrary files to locations inside the web root. This can be exploited to execute arbitrary code by uploading a malicious file, which then gets executed when the file is accessed directly.

5) An error in the way getIntranet handles if a user has super admin access can be exploited by authenticated users to escalate their privileges by
changing the T47 variable from 1 to 4 in "Update my details".

6) A problem concerning weak security restrictions for retrieving lost passwords in "lostpassword.asp" can be exploited when the username and surname is known by brute forcing the ID to get access to a user's password.

Solution:
Edit the source code to ensure that input is properly sanitised.

Use another product.

Provided and/or discovered by:
Criolabs

Original Advisory:
http://www.criolabs.net/advisories/getintranet.txt


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
  
Latest Advisories

Send Feedback to Secunia
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.

Most Popular - 3 Hours

1. 3Com Wireless 8760 Access Point HTTP Request Processing Denial of Service // 65 views
2. Sun Java JDK / JRE Multiple Vulnerabilities // 42 views
3. Cisco ASA and PIX Security Appliances Multiple Vulnerabilities // 40 views
4. Microsoft Office Two Code Execution Vulnerabilities // 39 views
5. Drupal Content Construction Kit Script Insertion Vulnerabilities // 34 views
6. HP OpenView Select Identity Connectors Information Disclosure // 33 views
7. Opera Multiple Vulnerabilities // 31 views
8. VLC Media Player Multiple Vulnerabilities // 27 views
9. CS-Cart "cs_cookies" SQL Injection Vulnerability // 26 views
10. Wireshark Denial of Service Vulnerabilities // 24 views