|
 |
|
TR News SQL Injection and File Upload Vulnerabilities
|
|
|
|
|
Secunia Advisory:
|
SA29814
|
|
|
Release Date:
|
2008-04-22
|
|
Last Update:
|
2008-05-02
|
|
|
Critical:
|

Moderately critical
|
|
Impact:
|
Manipulation of data Exposure of sensitive information System access
|
|
Where:
|
From remote
|
|
Solution Status:
|
Unpatched
|
|
| Software: | TR News 2.x
|
| | CVE reference: | CVE-2008-1958 (Secunia mirror) CVE-2008-1957 (Secunia mirror)
|
|
|
This advisory is currently marked as unpatched! - Companies can be alerted when a patch is released! |
|
|
Description: His0k4 has discovered two vulnerabilities in TR News, which can be exploited by malicious users to compromise a vulnerable system, and by malicious people to conduct SQL injection attacks.
1) Input passed to the "nb" parameter in news.php (when "mode" is set to "voir") 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. retrieving administrator usernames, password hashes, and e-mail addresses.
2) The admin/main.php script fails to validate the extension of an uploaded file. This can be exploited to upload files with the ".php" extension and execute arbitrary PHP code on the server.
Successful exploitation of this vulnerability requires valid administrator credentials (but see #1).
The vulnerabilities are confirmed in version 2.1. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly sanitised. Only grant administrator access to trusted users.
Provided and/or discovered by: His0k4
Changelog: 2008-05-02: Added CVE reference.
Original Advisory: http://milw0rm.com/exploits/5483
|
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|

|
 |
Secunia PSI Scan | Patch | Track Free Download
|
|
|
Secunia Poll
|
|
|
|
|
 |
|
|
Most Popular Advisories
|
|
|
|
|
|