Secunia Logo  
 
yappa-ng Local File Inclusion and Cross-Site Scripting Vulnerabilities
Secunia Advisory: SA32325
Release Date: 2008-10-20
Last Update: 2008-12-04
Popularity: 800 views

Critical:
Moderately critical
Impact: Cross Site Scripting
Exposure of system information
Exposure of sensitive information
Where: From remote
Solution Status: Unpatched

Software:yappa-ng 2.x

Subscribe: Instant alerts on relevant vulnerabilities


Description:
Some vulnerabilities have been discovered in yappa-ng, which can be exploited by malicious people to disclose sensitive information and conduct cross-site scripting attacks.

1) Input passed to the "album" parameter in index.php is not properly verified before being used to include files. This can be exploited to include arbitrary files from local resources via directory traversal attacks and URL-encoded NULL bytes.

Successful exploitation of this vulnerability requires that "magic_quotes_gpc" is disabled.

2) Input passed to the "album" parameter in index.php is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in the context of an affected site.

These vulnerabilities are confirmed in version 2.3.2. Other versions may also be affected.

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

Provided and/or discovered by:
1) Vrs-hCk
2) Pouya_Server

Changelog:
2008-12-04: Added vulnerability #2. Updated "Title", "Impact", "Provided by" and "Original Advisory" sections.

Original Advisory:
1) http://milw0rm.com/exploits/6788
2) http://packetstorm.linuxsecurity.com/0812-exploits/yappang-xss.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. Internet Explorer Data Binding Memory Corruption Vulnerability // 50 views
2. Sun Java JDK / JRE Multiple Vulnerabilities // 38 views
3. Cisco Global Site Selector DNS Request Denial of Service // 38 views
4. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 35 views
5. Drupal Project Module File Upload and Cross-Site Scripting // 32 views
6. Winamp gen_msn Plugin Buffer Overflow Vulnerability // 26 views
7. NTP OpenSSL "EVP_VerifyFinal()" Spoofing Vulnerability // 22 views
8. Red Hat update for openssl // 22 views
9. Joomla! "X_CMS_LIBRARY_PATH" Directory Traversal Vulnerability // 22 views
10. Red Hat update for hanterm-xf // 21 views