header-logo
Suggest Exploit
vendor:
Viscacha
by:
High-Tech Bridge SA - Ethical Hacking & Penetration Testing
5.5
CVSS
MEDIUM
SQL Injection and XSS
89 (SQL Injection) and 79 (XSS)
CWE
Product Name: Viscacha
Affected Version From: 2000.8.1
Affected Version To: 2000.8.1
Patch Exists: YES
Related CWE: N/A
CPE: a:mamonet:viscacha:0.8.1
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2011

SQL Injection and XSS in Viscacha

The vulnerability exists due to failure in the 'editprofile.php' and 'admin.php' scripts to properly sanitize user-supplied input. Attacker can alter queries to the application SQL database, execute arbitrary queries to the database, compromise the application, access or modify sensitive data, or exploit various vulnerabilities in the underlying SQL database. User can execute arbitrary JavaScript code within the vulnerable application. Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data.

Mitigation:

Input validation and output encoding should be used to prevent SQL injection and XSS attacks.
Source

Exploit-DB raw data:

Vulnerability ID: HTB22921
Reference: http://www.htbridge.ch/advisory/sql_injection_in_viscacha.html
Product: Viscacha
Vendor: MaMo Net ( http://www.viscacha.org )
Vulnerable Version: 0.8.1
Vendor Notification: 24 March 2011
Vulnerability Type: SQL Injection
Risk level: High
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)

Vulnerability Details:
The vulnerability exists due to failure in the "editprofile.php" script to properly sanitize user-supplied input.
Attacker can alter queries to the application SQL database, execute arbitrary queries to the database, compromise the application, access or modify sensitive data, or exploit various vulnerabilities in the underlying SQL database.

Attacker can use browser to exploit this vulnerability. The following PoC is available:

[code]
http://[host]/editprofile.php?action=abos2&digest[1'SQL_CODE_HERE]=1
[/code]

Vulnerability ID: HTB22919
Reference: http://www.htbridge.ch/advisory/multiple_xss_in_viscacha.html
Product: Viscacha
Vendor: MaMo Net ( http://www.viscacha.org )
Vulnerable Version: 0.8.1
Vendor Notification: 24 March 2011
Vulnerability Type: XSS (Cross Site Scripting)
Risk level: Medium
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)

Vulnerability Details:
The vulnerability exists due to failure in the "admin.php" script to properly sanitize user-supplied input.
User can execute arbitrary JavaScript code within the vulnerable application.
Successful exploitation of this vulnerability could result in a compromise of the application, theft of cookie-based authentication credentials, disclosure or modification of sensitive data.

[code]
http://[host]/admin.php?action=designs&job=templates_file_history&file=<
script>alert("XSS");</script>
http://[host]/admin.php?action=designs&job=templates_file_revert&dir="<s
cript>alert("XSS");</script>
http://[host]/admin.php?action=designs&job=templates_file_edit2&dir="<sc
ript>alert("XSS");</script>
http://[host]/admin.php?action=designs&job=templates_file_delete&dir="<s
cript>alert("XSS");</script>
http://[host]/admin.php?action=explorer&job=newdir&path="<script>alert("
XSS");</script>
http://[host]//admin.php?action=explorer&job=chmod&path="<script>alert("
XSS");</script>
[/code]

Vulnerability ID: HTB22920
Reference: http://www.htbridge.ch/advisory/path_disclosure_in_viscacha.html
Product: Viscacha
Vendor: MaMo Net ( http://www.viscacha.org )
Vulnerable Version: 0.8.1
Vendor Notification: 24 March 2011
Vulnerability Type: Path disclosure
Risk level: Low
Credit: High-Tech Bridge SA - Ethical Hacking & Penetration Testing (http://www.htbridge.ch/)

Vulnerability Details:
The vulnerability exists due to failure in the "editprofile.php" script, it's possible to generate an error that will reveal the full path of the script.
A remote user can determine the full path to the web root directory and other potentially sensitive information.

The following PoC is available:

[code]
http://[host]/editprofile.php?action=addabo
http://[host]/editprofile.php?action=removeabo
[/code]