Secunia Security Advisory - Rivertam has discovered a vulnerability in phpunity.postcard, which can be exploited by malicious people to compromise a vulnerable system.
495ca82ced873631cbe81a3d572dca15921229f4ab5bff2deda3a1794c6334d1
----------------------------------------------------------------------
Want to work within IT-Security?
Secunia is expanding its team of highly skilled security experts.
We will help with relocation and obtaining a work permit.
Currently the following type of positions are available:
http://secunia.com/quality_assurance_analyst/
http://secunia.com/web_application_security_specialist/
http://secunia.com/hardcore_disassembler_and_reverse_engineer/
----------------------------------------------------------------------
TITLE:
phpunity.postcard "gallery_path" Parameter File Inclusion
SECUNIA ADVISORY ID:
SA21897
VERIFY ADVISORY:
http://secunia.com/advisories/21897/
CRITICAL:
Highly critical
IMPACT:
System access
WHERE:
>From remote
SOFTWARE:
phpunity.postcard
http://secunia.com/product/11948/
DESCRIPTION:
Rivertam has discovered a vulnerability in phpunity.postcard, which
can be exploited by malicious people to compromise a vulnerable
system.
Input passed to the "gallery_path" parameter in phpunity-postcard.php
isn't properly verified, before it is used to include files. This can
be exploited to include arbitrary files from external and local
resources.
Example:
http://[host]/phpunity-postcard.php?plgallery_epost=1&gallery_path=[file]
Successful exploitation requires that "register_globals" is enabled.
The vulnerability has been confirmed in the latest available version.
Other versions may also be affected.
SOLUTION:
Edit the source code to ensure that input is properly verified.
Set "register_globals" to "Off".
PROVIDED AND/OR DISCOVERED BY:
Rivertam
ORIGINAL ADVISORY:
http://milw0rm.com/exploits/2357
----------------------------------------------------------------------
About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.
Subscribe:
http://secunia.com/secunia_security_advisories/
Definitions: (Criticality, Where etc.)
http://secunia.com/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.
----------------------------------------------------------------------