----------------------------------------------------------------------

Want a new job?

http://secunia.com/secunia_security_specialist/
http://secunia.com/hardcore_disassembler_and_reverse_engineer/

----------------------------------------------------------------------

TITLE:
CMS from Scratch Information Disclosure and File Upload

SECUNIA ADVISORY ID:
SA30448

VERIFY ADVISORY:
http://secunia.com/advisories/30448/

CRITICAL:
Moderately critical

IMPACT:
Exposure of system information, Exposure of sensitive information,
System access

WHERE:
>From remote

SOFTWARE:
CMS from Scratch 1.x
http://secunia.com/product/18862/

DESCRIPTION:
Stack has discovered some vulnerabilities in CMS from Scratch, which
can be exploited by malicious users to disclose sensitive information
and to compromise a vulnerable system.

1) Input passed to the "dir" parameter in cms/images.php and
cms/files.php is not properly verified before being used to list
directories. This can be exploited to disclose the content of
arbitrary directories.

2) The cms/images.php and cms/files.php scripts fail to validate the
extensions of uploaded files. This can be exploited to upload files
with arbitrary extensions (e.g. ".php") and execute arbitrary PHP
code on the server.

The vulnerabilities are confirmed in version 1.1.4b and reported in
version 1.1.3. Other versions may also be affected.

SOLUTION:
Restrict access to trusted users only.

PROVIDED AND/OR DISCOVERED BY:
Stack

ORIGINAL ADVISORY:
http://milw0rm.com/exploits/5693

----------------------------------------------------------------------

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.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories
http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org

----------------------------------------------------------------------