Secunia Security Advisory - nights_shadow has discovered a vulnerability in PhpWebGallery, which can be exploited by malicious people to conduct script insertion attacks.
4433b0ce41d9db1b129963bccd2f1df085f927dc65c7b174f54509674be9d9cb
----------------------------------------------------------------------
Try a new way to discover vulnerabilities that ALREADY EXIST in your
IT infrastructure.
The Secunia NSI enables you to INSPECT, DISCOVER, and DOCUMENT
vulnerabilities in more than 4,700 different Windows applications.
Request your account, the Secunia Network Software Inspector (NSI):
http://secunia.com/network_software_inspector/
----------------------------------------------------------------------
TITLE:
PhpWebGallery "author" Script Insertion
SECUNIA ADVISORY ID:
SA26908
VERIFY ADVISORY:
http://secunia.com/advisories/26908/
CRITICAL:
Moderately critical
IMPACT:
Cross Site Scripting
WHERE:
>From remote
SOFTWARE:
PhpWebGallery 1.x
http://secunia.com/product/6487/
DESCRIPTION:
nights_shadow has discovered a vulnerability in PhpWebGallery, which
can be exploited by malicious people to conduct script insertion
attacks.
Input passed to the "author" parameter in picture.php is not properly
sanitised before being stored. This can be exploited to insert
arbitrary HTML and script code, which is executed in a user's browser
session in context of an affected site when the malicious data is
viewed.
Successful exploitation requires that "Comments for all" is enabled.
The vulnerability is confirmed in version 1.7.0. Other versions may
also be affected.
SOLUTION:
Edit the source code to ensure that input is properly sanitised.
PROVIDED AND/OR DISCOVERED BY:
nights_shadow
----------------------------------------------------------------------
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.
----------------------------------------------------------------------