---------------------------------------------------------------------- Do you need accurate and reliable IDS / IPS / AV detection rules? Get in-depth vulnerability details: http://secunia.com/binary_analysis/sample_analysis/ ---------------------------------------------------------------------- TITLE: PHP infoBoard SQL Injection and Script Insertion SECUNIA ADVISORY ID: SA31977 VERIFY ADVISORY: http://secunia.com/advisories/31977/ CRITICAL: Moderately critical IMPACT: Cross Site Scripting, Manipulation of data, Exposure of sensitive information WHERE: >From remote SOFTWARE: PHP infoBoard 7.x http://secunia.com/advisories/product/20050/ DESCRIPTION: CWH Underground has reported two vulnerabilities in PHP infoBoard, which can be exploited by malicious people to conduct script insertion and SQL injection attacks. 1) Input passed to the "idcat" parameter in showtopic.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 allows e.g. retrieval of administrator usernames and password hashes, but requires knowledge of the database table prefix and that "magic_quotes_gpc" is disabled. 2) Input passed to the "isname" parameter in index.php (when "action" is set to "newtopic") 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 data is viewed. Successful exploitation of this vulnerability requires that the user is not logged in. The vulnerabilities are reported in version 7 Plus. Other versions may also be affected. SOLUTION: Edit the source code to ensure that input is properly sanitised. PROVIDED AND/OR DISCOVERED BY: CWH Underground ORIGINAL ADVISORY: http://milw0rm.com/exploits/6566 ---------------------------------------------------------------------- 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/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. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------