Secunia Logo  
 
Stash Multiple SQL Injection Vulnerabilities
Secunia Advisory: SA31818
Release Date: 2008-09-11
Last Update: 2008-10-21
Popularity: 995 views

Critical:
Moderately critical
Impact: Security Bypass
Manipulation of data
Exposure of sensitive information
Where: From remote
Solution Status: Unpatched

Software:Stash 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2008-4080
CVE-2008-4590


Description:
Some vulnerabilities have been discovered in Stash, which can be exploited by malicious people and users to conduct SQL injection attacks.

1) Input passed in the "username" parameter through admin/login.php to admin/library/authenticate.php and to the "download" parameter in downloadmp3.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation of this vulnerability allows e.g. logging in as administrator without valid administrator credentials, but requires that "magic_quotes_gpc" is disabled.

2) Input passed to the "post" parameter in admin/news.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

Successful exploitation of this vulnerability allows e.g. retrieval of administrator usernames, password hashes, real names, and e-mail addresses, but requires valid user credentials (but see #1) and knowledge of the database table prefix.

The vulnerabilities are confirmed in version 1.0.3. Other versions may also be affected.

Solution:
Use another product as Stash is unsupported.

Provided and/or discovered by:
1) IRCRASH
2) Gnix

Changelog:
2008-09-29: Added CVE reference.
2008-10-10: Updated vulnerability #1. Added vulnerability #2. Updated "Solution" and "Original Advisory" sections.
2008-10-21: Added CVE reference.

Original Advisory:
1) http://milw0rm.com/exploits/6402
2) http://milw0rm.com/exploits/6714


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

Today
New advisories: 8
New vulnerabilities: 12
Updated advisories: 20

Moderately // 113 views
PHPAuctions Multiple Vulnerabilities
Moderately // 162 views
Ubuntu update for xterm
Less // 177 views
Ubuntu update for samba

5th Jan, 2009
New advisories: 15
New vulnerabilities: 33
Updated advisories: 64

Moderately // 504 views
NPDS Multiple Vulnerabilities

Solutions | More...  


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 // 136 views
2. VMware "vmware-authd" Denial of Service Vulnerability // 128 views
3. PHPAuctions Multiple Vulnerabilities // 95 views
4. SemanticScuttle Cross-Site Request Forgery Vulnerabilities // 53 views
5. SolucionWeb "id_area" SQL Injection Vulnerability // 49 views
6. Ubuntu update for xterm // 45 views
7. Poll Pro Cross-Site Request Forgery Vulnerability // 40 views
8. Samba Root File System Access Security Issue // 39 views
9. Ubuntu update for samba // 38 views
10. Links SSL Verification Security Issue // 35 views