Secunia Security Advisory - Multiple vulnerabilities have been discovered in tinyguestbook, which can be exploited by malicious people to conduct script insertion and SQL injection attacks.
a9ce07010cb49cee349f012ea7f026130618becc53ca83b785c26973d6a4fa35
----------------------------------------------------------------------
Secunia is hiring!
Find your next job here:
http://secunia.com/company/jobs/
----------------------------------------------------------------------
TITLE:
tinyguestbook Script Insertion and SQL Injection Vulnerabilities
SECUNIA ADVISORY ID:
SA47419
VERIFY ADVISORY:
Secunia.com
http://secunia.com/advisories/47419/
Customer Area (Credentials Required)
https://ca.secunia.com/?page=viewadvisory&vuln_id=47419
RELEASE DATE:
2012-01-04
DISCUSS ADVISORY:
http://secunia.com/advisories/47419/#comments
AVAILABLE ON SITE AND IN CUSTOMER AREA:
* Last Update
* Popularity
* Comments
* Criticality Level
* Impact
* Where
* Solution Status
* Operating System / Software
* CVE Reference(s)
http://secunia.com/advisories/47419/
ONLY AVAILABLE IN CUSTOMER AREA:
* Authentication Level
* Report Reliability
* Secunia PoC
* Secunia Analysis
* Systems Affected
* Approve Distribution
* Remediation Status
* Secunia CVSS Score
* CVSS
https://ca.secunia.com/?page=viewadvisory&vuln_id=47419
ONLY AVAILABLE WITH SECUNIA CSI AND SECUNIA PSI:
* AUTOMATED SCANNING
http://secunia.com/vulnerability_scanning/personal/
http://secunia.com/vulnerability_scanning/corporate/wsus_sccm_3rd_third_party_patching/
DESCRIPTION:
Multiple vulnerabilities have been discovered in tinyguestbook, which
can be exploited by malicious people to conduct script insertion and
SQL injection attacks.
1) Input passed via the "msg" parameter to sign.php when signing the
guestbook 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 context of an affected site
when the malicious data is being viewed.
2) Input passed via the "name" and "msg" POST parameters to sign.php
(when "post" is set to "submit" and "code" is set correctly) is not
properly sanitised before being used in a SQL query. 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.
SOLUTION:
Edit the source code to ensure that input is properly sanitised.
PROVIDED AND/OR DISCOVERED BY:
1) G13
2) Henri Salo in a bug report
ORIGINAL ADVISORY:
tinyguestbook:
http://code.google.com/p/tinyguestbook/issues/detail?id=1
http://code.google.com/p/tinyguestbook/issues/detail?id=3
G13:
http://seclists.org/bugtraq/2012/Jan/8
OTHER REFERENCES:
Further details available in Customer Area:
http://secunia.com/vulnerability_intelligence/
DEEP LINKS:
Further details available in Customer Area:
http://secunia.com/vulnerability_intelligence/
EXTENDED DESCRIPTION:
Further details available in Customer Area:
http://secunia.com/vulnerability_intelligence/
EXTENDED SOLUTION:
Further details available in Customer Area:
http://secunia.com/vulnerability_intelligence/
EXPLOIT:
Further details available in Customer Area:
http://secunia.com/vulnerability_intelligence/
----------------------------------------------------------------------
About:
This Advisory was delivered by Secunia as a free service to help
private users keeping their systems up to date against the latest
vulnerabilities.
Subscribe:
http://secunia.com/advisories/secunia_security_advisories/
Definitions: (Criticality, Where etc.)
http://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.
----------------------------------------------------------------------