Secunia Logo
 
PHP Links "id" and "admin_username" SQL Injection Vulnerabilities
Secunia Advisory: SA28727
Release Date: 2008-01-31
Last Update: 2008-11-07
Popularity: 4,645 views

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

Software:PHP Links 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2008-0565


Description:
Some vulnerabilities have been reported in PHP Links, which can be exploited by malicious people to conduct SQL injection attacks.

1) Input passed to the "id" parameter in vote.php is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

2) Input passed to the "admin_username" parameter in adm_login.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 allows e.g. retrieving usernames and password hashes, but requires knowledge of the database table prefix.

These vulnerabilities are reported in version 1.3. Other versions may also be affected.

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

Provided and/or discovered by:
1) Houssamix
2) ZoRLu

Changelog:
2008-02-07: Added CVE reference.
2008-11-07: Added vulnerability #2. Updated "Name", "Description", "Provided by" and "Original Advisory" sections.

Original Advisory:
1) http://milw0rm.com/exploits/5021
2) http://milw0rm.com/exploits/7024


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. Sun Java JDK / JRE Multiple Vulnerabilities // 43 views
2. Adobe Flash Player Multiple Security Issues and Vulnerabilities // 30 views
3. Apple iPhone / iPod touch Multiple Vulnerabilities // 25 views
4. BitDefender Antivirus PDF Processing Memory Corruption Vulnerability // 24 views
5. vBulletin Visitor Messages Script Insertion Vulnerability // 23 views
6. Joomla Custompages Component "cpage" File Inclusion // 23 views
7. Adobe Acrobat/Reader Multiple Vulnerabilities // 23 views
8. ClipShare "chid" SQL Injection Vulnerability // 20 views
9. Softbiz Classifieds Script "msg" Cross-Site Scripting Vulnerability // 19 views
10. EMC Control Center SAN Manager Multiple Vulnerabilities // 19 views