Secunia Security Advisory - JosS has discovered some vulnerabilities in EasyGallery, which can be exploited by malicious people to conduct cross-site scripting and SQL injection attacks.
bfe64139e974ed835114e1c43110e2b36f881d2675136ec1d421b8e4bf1f074b
----------------------------------------------------------------------
A new version (0.9.0.0 - Release Candidate 1) of the free Secunia PSI
has been released. The new version includes many new and advanced
features, which makes it even easier to stay patched.
Download and test it today:
https://psi.secunia.com/
Read more about this new version:
https://psi.secunia.com/?page=changelog
----------------------------------------------------------------------
TITLE:
EasyGallery SQL Injection and Cross-Site Scripting
SECUNIA ADVISORY ID:
SA29372
VERIFY ADVISORY:
http://secunia.com/advisories/29372/
CRITICAL:
Moderately critical
IMPACT:
Cross Site Scripting, Manipulation of data
WHERE:
>From remote
SOFTWARE:
MyioSoft EasyGallery 5.x
http://secunia.com/product/17936/
DESCRIPTION:
JosS has discovered some vulnerabilities in EasyGallery, which can be
exploited by malicious people to conduct cross-site scripting and SQL
injection attacks.
1) Input passed to the "catid" parameter in
staticpages/easygallery/index.php (when "page" is set to "category")
is not properly sanitised before being used in SQL queries. This can
be exploited to manipulate SQL queries by injecting arbitrary SQL
code.
2) Input passed to the "q" parameter (when "help" is set) and the URL
in staticpages/easygallery/index.php is not properly sanitised before
being returned to the user. This can be exploited to execute
arbitrary HTML and script code in a user's browser session in context
of an affected site.
The vulnerabilities are confirmed in version 5.00tr. Other versions
may also be affected.
SOLUTION:
Edit the source code to ensure that input is properly sanitised.
PROVIDED AND/OR DISCOVERED BY:
JosS
ORIGINAL ADVISORY:
http://milw0rm.com/exploits/5247
----------------------------------------------------------------------
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.
----------------------------------------------------------------------