Secunia Security Advisory - Danny Moules has discovered a security issue and a vulnerability in PHPads, which can be exploited by malicious people to disclose sensitive information and by malicious users to conduct script insertion attacks.
7b09a8c384cb348c920aa2150cac83a9b2e86f0152eac840083a505ad598b484
----------------------------------------------------------------------
Did you know that a change in our assessment rating, exploit code
availability, or if an updated patch is released by the vendor, is
not part of this mailing-list?
Click here to learn more:
https://secunia.com/advisories/business_solutions/
----------------------------------------------------------------------
TITLE:
PHPads Multiple Vulnerabilities
SECUNIA ADVISORY ID:
SA33580
VERIFY ADVISORY:
https://secunia.com/advisories/33580/
CRITICAL:
Moderately critical
IMPACT:
Security Bypass, Cross Site Scripting, Exposure of sensitive
information
WHERE:
>From remote
REVISION:
2.0 originally posted 2009-01-20
SOFTWARE:
PHPads 2.x
https://secunia.com/advisories/product/21068/
DESCRIPTION:
Danny Moules has discovered a security issue and a vulnerability in
PHPads, which can be exploited by malicious people to disclose
sensitive information and by malicious users to conduct script
insertion attacks.
1) The security issue is caused due to improper access restrictions
to the "ads.dat" file. This can be exploited to disclose the
administrator's user name and password hash by requesting the file
directly.
Successful exploitation allows to bypass the authentication mechanism
by creating the cookies "user" and "pass" and assigning them the
corresponding values taken from the ads.dat file.
2) Input passed to the "ad_name" parameter in admin.php is not
properly sanitised before being used. This can be exploited to insert
arbitrary HTML and script code, which will be executed in a user's
browser session in the context of an affected site when the malicious
ad is viewed (e.g. in admin.php when "action" is set to "list").
These vulnerabilities are confirmed in version 2.0. Other versions
may also be affected.
SOLUTION:
Move the ads.dat file out of the web root.
Edit the source code to ensure that input is properly sanitised.
PROVIDED AND/OR DISCOVERED BY:
Danny Moules
CHANGELOG:
2009-01-20: Added vulnerability #2. Updated "Title", "Impact", and
"Solution" sections.
ORIGINAL ADVISORY:
https://www.push55.co.uk/index.php?s=ad&id=5
https://www.push55.co.uk/poclibrary/blondishnet-1.txt
----------------------------------------------------------------------
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:
https://secunia.com/advisories/secunia_security_advisories/
Definitions: (Criticality, Where etc.)
https://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.
----------------------------------------------------------------------