Secunia Security Advisory - EgiX has reported two vulnerabilities in PhpWebGallery, which can be exploited by malicious users to compromise a vulnerable system and by malicious people to conduct SQL injection attacks.
a55aaca9dfc4ee4b08163dd571f1d04d6f652e246ca340ca593c7cc70ad96ffa
----------------------------------------------------------------------
Do you need accurate and reliable IDS / IPS / AV detection rules?
Get in-depth vulnerability details:
http://secunia.com/binary_analysis/sample_analysis/
----------------------------------------------------------------------
TITLE:
PhpWebGallery PHP Code Execution and SQL Injection
SECUNIA ADVISORY ID:
SA32221
VERIFY ADVISORY:
http://secunia.com/advisories/32221/
CRITICAL:
Highly critical
IMPACT:
Manipulation of data, Exposure of sensitive information, System
access
WHERE:
>From remote
SOFTWARE:
PhpWebGallery 1.x
http://secunia.com/advisories/product/6487/
DESCRIPTION:
EgiX has reported two vulnerabilities in PhpWebGallery, 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 "sort_by" parameter in comments.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 of this vulnerability may allow e.g.
retrieval of administrator session IDs.
2) Input passed to the "sort" parameter through admin.php to
plugins/event_tracer/event_list.php is not properly sanitised before
being used in a call to "create_function()". This can be exploited to
execute arbitrary PHP code.
Successful exploitation of this vulnerability requires valid
administrator credentials (but see #1).
The vulnerabilities are reported in version 1.7.2. Prior versions may
also be affected.
SOLUTION:
Update to version 1.7.3.
PROVIDED AND/OR DISCOVERED BY:
EgiX
ORIGINAL ADVISORY:
http://milw0rm.com/exploits/6755
----------------------------------------------------------------------
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/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.
----------------------------------------------------------------------