Secunia Security Advisory - Multiple vulnerabilities have been discovered in Enable Media Replace plugin for WordPress, which can be exploited by malicious users to conduct SQL injection attacks and compromise a vulnerable system.
18ec777a5a1417bee6af6c41cfd1e81e88e802bee45abc3f4828a558856ce991
----------------------------------------------------------------------
Get a tax break on purchases of Secunia Solutions!
If you are a U.S. company, you may be qualified for a tax break for your software purchases. Learn more at:
http://secunia.com/products/corporate/vim/section_179/
----------------------------------------------------------------------
TITLE:
WordPress Enable Media Replace Plugin Multiple Vulnerabilities
SECUNIA ADVISORY ID:
SA43256
VERIFY ADVISORY:
Secunia.com
http://secunia.com/advisories/43256/
Customer Area (Credentials Required)
https://ca.secunia.com/?page=viewadvisory&vuln_id=43256
RELEASE DATE:
2011-02-19
DISCUSS ADVISORY:
http://secunia.com/advisories/43256/#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/43256/
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=43256
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:
Multiple vulnerabilities have been discovered in Enable Media
Replace plugin for WordPress, which can be exploited by malicious
users to conduct SQL injection attacks and compromise a vulnerable
system.
1) Input passed via the "attachment_id" parameter to
wp-admin/upload.php (when "page" is set to
"enable-media-replace/enable-media-replace.php" and "action" is set
to "media_replace") is not properly sanitised before being used in
SQL queries. This can be exploited to manipulate SQL queries by
injecting arbitrary SQL code.
2) The wp-content/plugins/enable-media-replace/upload.php script
allows replacing existing files (when the "replace_type" POST
parameter is not set to "replace"). This can be exploited to execute
arbitrary code by uploading a PHP file.
Successful exploitation of these vulnerabilities requires "Author"
role.
The vulnerabilities are confirmed in version 2.3. Other versions may
also be affected.
SOLUTION:
Edit the source code to ensure that input is properly sanitised.
Grant the "Author" role to trusted users only.
PROVIDED AND/OR DISCOVERED BY:
Ulf Harnhammar
ORIGINAL ADVISORY:
http://www.exploit-db.com/exploits/16144/
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.
----------------------------------------------------------------------