CVE-2012-20008
Description
openSIS 5.1 before 9.0 contains a local file inclusion vulnerability that allows authenticated users to include arbitrary files through the modname parameter of ajax.php. Attackers can prefix a payload with misc/ and use ../ directory traversal to read sensitive files like /etc/passwd or execute local scripts in the web server context. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-19.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
OS4ED openSIS 5.1 - 'ajax.php' Local File Inclusion (LFI)
source: https://web.archive.org/web/2012/https://www.securityfocus.com/bid/56598/info
openSIS is prone to a local file-include vulnerability because it fails to sufficiently sanitize user-supplied data.
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.
openSIS 5.1 is vulnerable; other versions may also be affected.
----------------------------------------
http://www.example.com/opensis5.1/opensis/ajax.php?modname=misc/../../../../../../../../../../../../../etc/passwd&bypass=Transcripts.php
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| os4ed | opensis | {"startIncluding":"5.1","endExcluding":"9.0"} | 9.0 |
References
- https://github.com/OS4ED/openSIS-Classic/commit/a2d617977fa159185263845ac75b8c83cddd07f0
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/opensis-lfi.yaml
- https://www.exploit-db.com/exploits/38039
- https://www.vulncheck.com/advisories/opensis-5.1-9.0-authenticated-local-file-inclusion-via-ajax-php-modname
- https://www.vulncheck.com/advisories/opensis-5.1-authenticated-local-file-inclusion-via-ajax-php-modname
CWEs
CWE-98
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.