---------------------------------------------------------------------- Secunia is hiring! Find your next job here: http://secunia.com/company/jobs/ ---------------------------------------------------------------------- TITLE: WikkaWiki Multiple Vulnerabilities SECUNIA ADVISORY ID: SA47034 VERIFY ADVISORY: Secunia.com http://secunia.com/advisories/47034/ Customer Area (Credentials Required) https://ca.secunia.com/?page=viewadvisory&vuln_id=47034 RELEASE DATE: 2011-12-02 DISCUSS ADVISORY: http://secunia.com/advisories/47034/#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/47034/ 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=47034 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: A weakness and multiple vulnerabilities have been discovered in WikkaWiki, which can be exploited by malicious users to manipulate certain data, conduct SQL injection attacks, and compromise a vulnerable system and by malicious people to disclose potentially sensitive information, conduct cross-site request forgery attacks, and compromise a vulnerable system. 1) The application allows users to perform certain actions via HTTP requests without performing proper validity checks to verify the requests. This can be exploited to e.g. delete a user when a logged-in administrative user visits a specially crafted web page. 2) Input passed via the "file" POST parameter to wikka.php (when "wakka" is set to a wiki page with "{{files}}" directive and "action" is set to "delete") is not properly verified before being used to delete files. This can be exploited to delete arbitrary files via directory traversal attacks. Successful exploitation requires administrative rights. 3) Input passed via the "file" parameter to wikka.php (when "wakka" is set to a page with "{{files}}" directive and "action" is set to "download") is not properly verified before being used to download files. This can be exploited to download arbitrary files via directory traversal attacks. 4) Input passed via the "default_comment_display" parameter to wikka.php (when "wakka" is set to "UserSettings" and "action" is set to "update") is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. 5) Input passed via the "file" POST parameter to wikka.php (when "wakka" is set to a wiki page with "{{files}}" directive and "upload" is set to "Upload") is not properly verified before being used to upload files. This can be exploited to e.g. upload and execute arbitrary PHP files with an e.g. ".php.mm" extension. Successful exploitation requires administrative rights or "INTRANET_MODE" to be enabled (disabled by default). 6) Input passed via the "User-Agent" header to wikka.php (when "wakka" is set to a wiki page and appended "/addcomment") is not properly sanitised before being written to a certain file. This can be exploited to inject and potentially execute arbitrary commands. Successful exploitation requires access rights to post comments, "spam_logging" to be enabled (disabled by default), and "spamlog_path" to be set to a file name suitable for PHP execution by the web server ("spamlog.txt.php" by default). The vulnerabilities are confirmed in version 1.3.2. 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. PROVIDED AND/OR DISCOVERED BY: Egidio Romano aka EgiX ORIGINAL ADVISORY: http://www.exploit-db.com/exploits/18177/ 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 ----------------------------------------------------------------------