Koha 'KohaOpacLanguage' Cookie Parameter Local File Include Vulnerability
BID:50812
Info
Koha 'KohaOpacLanguage' Cookie Parameter Local File Include Vulnerability
| Bugtraq ID: | 50812 |
| Class: | Input Validation Error |
| CVE: |
CVE-2011-4715 |
| Remote: | Yes |
| Local: | No |
| Published: | Nov 24 2011 12:00AM |
| Updated: | Dec 20 2011 09:59PM |
| Credit: | Frère Sébastien Marie |
| Vulnerable: |
Koha Library Software Community Koha 3.6 Koha Library Software Community Koha 3.4.6 Koha Library Software Community Koha 3.4.2 Koha Library Software Community Koha 3.4.1 |
| Not Vulnerable: |
Koha Library Software Community Koha 3.6.1 Koha Library Software Community Koha 3.4.7 |
Discussion
Koha 'KohaOpacLanguage' Cookie Parameter Local File Include Vulnerability
Koha is prone to a local file-include vulnerability because it fails to sufficiently sanitize user-supplied input.
An attacker can exploit this vulnerability to obtain potentially sensitive information and execute arbitrary local scripts in the context of the Web server process. This may allow the attacker to compromise the application and computer; other attacks are also possible.
Koha 3.4.x prior to 3.4.7 and 3.6.x prior to 3.6.1 are vulnerable.
Koha is prone to a local file-include vulnerability because it fails to sufficiently sanitize user-supplied input.
An attacker can exploit this vulnerability to obtain potentially sensitive information and execute arbitrary local scripts in the context of the Web server process. This may allow the attacker to compromise the application and computer; other attacks are also possible.
Koha 3.4.x prior to 3.4.7 and 3.6.x prior to 3.6.1 are vulnerable.
Exploit / POC
Koha 'KohaOpacLanguage' Cookie Parameter Local File Include Vulnerability
Attackers can use a browser to exploit this issue.
The following example input is available:
KohaOpacLanguage=../../../../../../../../etc/passwd%00
Attackers can use a browser to exploit this issue.
The following example input is available:
KohaOpacLanguage=../../../../../../../../etc/passwd%00
Solution / Fix
Koha 'KohaOpacLanguage' Cookie Parameter Local File Include Vulnerability
Solution:
Updates are available. Please see the references for more information.
Solution:
Updates are available. Please see the references for more information.
References
Koha 'KohaOpacLanguage' Cookie Parameter Local File Include Vulnerability
References:
References:
- Koha Homepage (Koha Library Software Community)
- Bug 6629 - [security] insecure use of Cookie for language selection (Frère Sébastien Marie)