Secunia Logo  


Secunia PSI WorldMap
 
phpRPG SQL Injection and Information Disclosure
Secunia Advisory: SA27968
Release Date: 2007-12-17
Last Update: 2007-12-21
Popularity: 5,059 views

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

Software:phpRPG 0.x

Secunia CVSS-2 Score: Available in Secunia business solutions

Subscribe: Instant alerts on relevant vulnerabilities


Advisory Content (Page 1 of 3)[ 1 ] [ 2 ] [ 3 ]

Description:
Michael Brooks has discovered some vulnerabilities in phpRPG, which can be exploited by malicious people to conduct SQL injection attacks and to disclose sensitive information.

1) Input passed to the "username" and "password" parameters in index.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) A vulnerability is caused by not properly protecting session files in the "tmp/" directory. Directory listings for that directory contain the session IDs used by the application. This can be exploited to pass session IDs in the "PHPSESSID" cookie and take over other users' sessions.

Successful exploitation of this vulnerability requires that the web server is configured to display directory listings for the "tmp/" directory.

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

Change Page:
[ 1 ] [ 2 ] [ 3 ]



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 Charset Inheritance Cross-Site Scripting Vulnerability // 57 views
2. Sun Java JDK / JRE Multiple Vulnerabilities // 51 views
3. Adobe Flash Player Multiple Vulnerabilities // 40 views
4. Microsoft Windows Win32k Kernel-Mode Driver Multiple Vulnerabilities // 34 views
5. Adobe Reader/Acrobat Multiple Vulnerabilities // 22 views
6. Google Chrome Two Vulnerabilities // 18 views
7. Mozilla Firefox Multiple Vulnerabilities // 14 views
8. Apple Safari Multiple Vulnerabilities // 12 views
9. Microsoft XML Core Services Multiple Vulnerabilities // 10 views
10. Microsoft Excel Multiple Vulnerabilities // 9 views