Secunia Security Advisory - shinmai has discovered some vulnerabilities in aflog, which can be exploited by malicious users to conduct script insertion attacks, and by malicious people to conduct SQL injection attacks.
88d3271c30e3eeb2f9a09009b02778394aac24a0cd6d704c1cace1e543ba7e90
----------------------------------------------------------------------
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:
aflog SQL Injection and Script Insertion Vulnerabilities
SECUNIA ADVISORY ID:
SA28594
VERIFY ADVISORY:
http://secunia.com/advisories/28594/
CRITICAL:
Moderately critical
IMPACT:
Cross Site Scripting, Manipulation of data
WHERE:
>From remote
SOFTWARE:
aflog 1.x
http://secunia.com/product/17276/
DESCRIPTION:
shinmai has discovered some vulnerabilities in aflog, which can be
exploited by malicious users to conduct script insertion attacks, and
by malicious people to conduct SQL injection attacks.
1) Input passed to the "id" parameter in comments.php and view.php is
not properly sanitised before being used in SQL queries. This can be
exploited to manipulate SQL queries by injecting arbitrary SQL code.
Successful exploitation of this vulnerability requires that
"magic_quotes_gpc" is disabled.
2) Input passed to the "text" parameter in comments.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
comment is viewed.
Successful exploitation of this vulnerability requires valid user
credentials.
The vulnerabilities are confirmed in version 1.01. Other versions may
also be affected.
SOLUTION:
Edit the source code to ensure that input is properly sanitised.
PROVIDED AND/OR DISCOVERED BY:
shinmai
ORIGINAL ADVISORY:
http://milw0rm.com/exploits/4958
----------------------------------------------------------------------
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.
----------------------------------------------------------------------