---------------------------------------------------------------------- Secunia is proud to announce the availability of the Secunia Software Inspector. The Secunia Software Inspector is a free service that detects insecure versions of software that you may have installed in your system. When insecure versions are detected, the Secunia Software Inspector also provides thorough guidelines for updating the software to the latest secure version from the vendor. Try it out online: http://secunia.com/software_inspector/ ---------------------------------------------------------------------- TITLE: The Address Book Multiple Vulnerabilities SECUNIA ADVISORY ID: SA21694 VERIFY ADVISORY: http://secunia.com/advisories/21694/ CRITICAL: Highly critical IMPACT: Hijacking, Security Bypass, Cross Site Scripting, Manipulation of data, Exposure of sensitive information, System access WHERE: >From remote SOFTWARE: The Address Book 1.x http://secunia.com/product/11252/ DESCRIPTION: Secunia Research has discovered some vulnerabilities and a security issue in The Address Book, which can be exploited by malicious people to bypass certain security restrictions, conduct cross-site scripting, cross-site request forgery, script insertion, and SQL injection attacks, disclose sensitive information, and compromise a vulnerable system. 1) Input passed to the "lastname" and "firstname" parameters when adding a new entry, the "passwordOld" and "passwordNew" parameters when changing the password in users.php, the "id" parameter when confirming a user in users.php, the "language" and "defaultLetter" parameters when changing personal options in users.php, the "goTo" and "search" parameters in search.php during searches, the "groupAddName" parameter when adding a new group in save.php, and the "newuserPass", "newuserType", and "newuserEmail" parameters when an administrator adds a user in users.php isn't properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. Successful exploitation requires that "magic_quotes_gpc" is disabled (except for the "id" parameter). 2) An input validation error exists in the picture upload handling due to missing verification of the content of uploaded images. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site when a specially crafted HTML document with the ".gif" or ".jpg" file extension is viewed directly in the Microsoft Internet Explorer browser. 3) Input passed to the "email" and "websites" parameters when adding a new entry, and the "groupAddName" parameter when adding a new group in save.php isn't properly sanitised before being used. This can be exploited to inject arbitrary HTML and script code, which will be executed in a user's browser session in context of an affected site when the malicious user data is viewed. Example: Adding new entry: " onmouseover=[code] " 4) The problem is that user credentials are included in the exported MySQL dump file generated by export.php which is accessible by normal users. This can be exploited to disclose usernames and encrypted passwords (MD5 sum). 5) Input passed to the "language" parameter when changing personal options in users.php isn't properly verified, before it is used to include files. This can be exploited to include arbitrary files from local resources. This can further be exploited to include arbitrary PHP code injected into uploaded image files. Example: ../mugshots/[file].gif%00 6) Input passed to the "errorMsg" parameter in index.php, and the "goTo" and "search" parameters in search.php isn't properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site. Successful exploitation requires that "register_globals" is enabled (except for the "goTo" parameter). 7) The problem is that it is possible to register a new user account in register.php even when "Allow User Self-Registration" has been disabled by setting the "mode" parameter to "confirm". 8) An error exists in the picture upload handling due to the application only validating the "Content-Type" header and not the file extension. This can be exploited to upload a malicious PHP script inside the web root. 9) An error exists due to the application allowing users to perform certain actions via HTTP requests without performing any validity checks to verify the user's request. Example: http://[host]/users.php?action=deleteuser&id=[id] The vulnerabilities and the security issue are confirmed in version 1.04e. Other versions may also be affected. SOLUTION: Use another product. PROVIDED AND/OR DISCOVERED BY: Secunia Research ORIGINAL ADVISORY: Secunia Research: http://secunia.com/secunia_research/2006-76/ ---------------------------------------------------------------------- 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 ----------------------------------------------------------------------