Secunia Security Advisory - Secunia Research has discovered two vulnerabilities in phpBugTracker, which can be exploited by malicious users to conduct SQL injection attacks and compromise a vulnerable system.
ea5ed6be868abbdf6ccaad7f2cca2ffc2e0306d8a5186bc7a1c80c51a48a8403
----------------------------------------------------------------------
List of products vulnerable to insecure library loading vulnerabilities:
http://secunia.com/_%22insecure%20library%20loading%22
The list is continuously updated as we confirm the vulnerability reports
so check back regularly too see if any of your apps are affected.
----------------------------------------------------------------------
TITLE:
phpBugTracker SQL Injection and Arbitrary File Upload Vulnerabilities
SECUNIA ADVISORY ID:
SA40928
VERIFY ADVISORY:
Secunia.com
http://secunia.com/advisories/40928/
Customer Area (Credentials Required)
https://ca.secunia.com/?page=viewadvisory&vuln_id=40928
RELEASE DATE:
2010-08-28
DISCUSS ADVISORY:
http://secunia.com/advisories/40928/#comments
AVAILABLE ON SITE AND IN CUSTOMER AREA:
* Last Update
* Popularity
* Comments
* Criticality Level
* Impact
* Where
* Solution Status
* Operating System / Software
* CVE Reference(s)
http://secunia.com/advisories/40928/
ONLY AVAILABLE IN CUSTOMER AREA:
* Authentication Level
* Report Reliability
* Secunia PoC
* Secunia Analysis
* Systems Affected
* Approve Distribution
* Remediation Status
* Secunia CVSS Score
* CVSS
https://ca.secunia.com/?page=viewadvisory&vuln_id=40928
ONLY AVAILABLE WITH SECUNIA CSI AND SECUNIA PSI:
* AUTOMATED SCANNING
http://secunia.com/vulnerability_scanning/personal/
http://secunia.com/vulnerability_scanning/corporate/wsus_sccm_3rd_third_party_patching/
DESCRIPTION:
Secunia Research has discovered two vulnerabilities in phpBugTracker,
which can be exploited by malicious users to conduct SQL injection
attacks and compromise a vulnerable system.
1) Input passed via the "bugid" parameter to attachment.php when
uploading a file is not properly sanitised before being used in a SQL
query. This can be exploited to manipulate SQL queries by injecting
arbitrary SQL code.
2) The "add_attachment()" function in attachment.php allows upload of
files with arbitrary extensions to a folder inside the web root. This
can be exploited to execute arbitrary PHP code by uploading a PHP
file.
Successful exploitation of the vulnerabilities requires "Developer"
permissions.
The vulnerabilities are confirmed in version 1.0.5. Other versions
may also be affected.
SOLUTION:
Edit the source code to ensure that input is properly sanitised.
Restrict access to the "attachments/" directory (e.g. via .htaccess).
PROVIDED AND/OR DISCOVERED BY:
Secunia Research
ORIGINAL ADVISORY:
Secunia Research:
http://secunia.com/secunia_research/2010-107/
http://secunia.com/secunia_research/2010-108/
OTHER REFERENCES:
Further details available in Customer Area:
http://secunia.com/products/corporate/EVM/
DEEP LINKS:
Further details available in Customer Area:
http://secunia.com/products/corporate/EVM/
EXTENDED DESCRIPTION:
Further details available in Customer Area:
http://secunia.com/products/corporate/EVM/
EXTENDED SOLUTION:
Further details available in Customer Area:
http://secunia.com/products/corporate/EVM/
EXPLOIT:
Further details available in Customer Area:
http://secunia.com/products/corporate/EVM/
----------------------------------------------------------------------
About:
This Advisory was delivered by Secunia as a free service to help
private users keeping their systems up to date against the latest
vulnerabilities.
Subscribe:
http://secunia.com/advisories/secunia_security_advisories/
Definitions: (Criticality, Where etc.)
http://secunia.com/advisories/about_secunia_advisories/
Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.
----------------------------------------------------------------------