---------------------------------------------------------------------- Secunia is hiring! Find your next job here: http://secunia.com/company/jobs/ ---------------------------------------------------------------------- TITLE: Koha "Referer" HTTP Header and "KohaOpacLanguage" Local File Inclusion Vulnerabilities SECUNIA ADVISORY ID: SA47168 VERIFY ADVISORY: Secunia.com http://secunia.com/advisories/47168/ Customer Area (Credentials Required) https://ca.secunia.com/?page=viewadvisory&vuln_id=47168 RELEASE DATE: 2011-12-20 DISCUSS ADVISORY: http://secunia.com/advisories/47168/#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/47168/ 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=47168 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: Two vulnerabilities have been reported in Koha, which can be exploited by malicious people to disclose sensitive information. 1) Input passed to the "KohaOpacLanguage" cookie value in cgi-bin/koha/opac-main.pl is not properly sanitised before being used to include files. This can be exploited to include arbitrary files from local resources via directory traversal attacks and URL-encoded NULL bytes. 2) Input passed via the "Referer" HTTP header to help.pl is not properly sanitised before being used to include files. This can be exploited to include arbitrary files from local resources via directory traversal attacks and URL-encoded NULL bytes. The vulnerabilities are reported in 3.4.x versions prior to 3.4.7 and 3.6.x versions prior to 3.6.1. SOLUTION: Update to version 3.4.7 or 3.6.1. PROVIDED AND/OR DISCOVERED BY: Reported within Koha bug reports by Frère Sébastien Marie. ORIGINAL ADVISORY: Koha: http://koha-community.org/koha-3-4-7/ http://koha-community.org/koha-3-6-1/ http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6628 http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6629 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 ----------------------------------------------------------------------