---------------------------------------------------------------------- Secunia is hiring! Find your next job here: http://secunia.com/company/jobs/ ---------------------------------------------------------------------- TITLE: Wuzly Multiple Vulnerabilities SECUNIA ADVISORY ID: SA46163 VERIFY ADVISORY: Secunia.com http://secunia.com/advisories/46163/ Customer Area (Credentials Required) https://ca.secunia.com/?page=viewadvisory&vuln_id=46163 RELEASE DATE: 2011-12-19 DISCUSS ADVISORY: http://secunia.com/advisories/46163/#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/46163/ 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=46163 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: Secunia Research has discovered multiple vulnerabilities in Wuzly, which can be exploited by malicious people to conduct cross-site scripting attacks, cross-site request forgery attacks, script insertion attacks, SQL injection attacks, disclose sensitive information, and bypass certain security restrictions. 1) Input passed via the "Referer" header to admin/login.php and admin/404.php is not 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. 2) Input passed via various parameters to multiple scripts is not 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. Examples: http://[host]/search.php?q=[code] http://[host]/admin/theme_settings.php?theme_name=[code] http://[host]/admin/extension_settings.php?extension_name=[code] http://[host]/admin/search.php?q=[code] http://[host]/admin/comments.php?type=[code] http://[host]/admin/pages.php?sort=[code] http://[host]/admin/posts.php?sort=[code] http://[host]/admin/media.php?type=[code] http://[host]/admin/media.php?q=[code] http://[host]/mobile/add_widget.php?sidebar=[code] http://[host]/mobile/widgets.php?sidebar=[code] http://[host]/mobile/category_delete.php?id=[code] http://[host]/mobile/comment.php?id=[code] http://[host]/mobile/page_delete.php?id=[code] http://[host]/mobile/post_delete.php?id=[code] http://[host]/mobile/media.php?type=[code] http://[host]/mobile/widget_delete.php?id=[code] http://[host]/mobile/widget_delete.php?sidebar=[code] http://[host]/index.php?name=[code] http://[host]/index.php?email=[code] http://[host]/index.php?website=[code] http://[host]/index.php?comment=[code] 3) The application's web interface allows users to perform certain actions via HTTP requests without performing any validity checks to verify the requests. This can be exploited to e.g. add an administrator and conduct script insertion and SQL injection attacks by tricking a logged in administrator into visiting a malicious web site. 4) Input passed via the "username" parameter to admin/login.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 context of an affected site when the malicious data is being viewed. 5) Input passed to the "preview" parameter to index.php is not properly verified in blog_system/data_functions.php before being used to include files. This can be exploited to include arbitrary files from local resources via Base64-encoded directory traversal attacks and NULL bytes. 6) Input passed via the "u" parameter to admin/fp.php, the "epage" parameter to admin/newpage.php, and the "epost" parameter to admin/newpost.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. 7) Input passed via the "username" POST parameter to admin/login.php or mobile/login.php (when "submitted" is set to "1") is not properly sanitised in blog_system/admin_functions.php before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. NOTE: This vulnerability can further be exploited to bypass the authentication mechanism. Successful exploitation of this vulnerability requires that "magic_quotes_gpc" is disabled. 8) An error within the authentication mechanism can be exploited to gain access to the administration section by setting the "dXNlcm5hbWU" cookie to an arbitrary value. The vulnerabilities are confirmed in version 2.0. Other versions may also be affected. SOLUTION: Edit the source code to ensure that input is properly sanitised and verified. Do not browse untrusted websites or follow untrusted links while logged in to the application. Restrict access to the "admin" directory (e.g. via .htaccess). PROVIDED AND/OR DISCOVERED BY: Morten Bartvig, Secunia Research. ORIGINAL ADVISORY: Secunia Research: http://secunia.com/secunia_research/2011-84/ http://secunia.com/secunia_research/2011-85/ http://secunia.com/secunia_research/2011-86/ http://secunia.com/secunia_research/2011-87/ http://secunia.com/secunia_research/2011-88/ http://secunia.com/secunia_research/2011-89/ 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. ---------------------------------------------------------------------- Unsubscribe: Secunia Security Advisories http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org ----------------------------------------------------------------------