CVE-2021-39377: A SQL Injection vulnerability exists in openSIS 8.0 when MySQL (MariaDB) is being used as the application data
CVE-2021-39377 is a critical-severity flaw (CVSS 9.8) affecting opensis. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
A SQL Injection vulnerability exists in openSIS 8.0 when MySQL (MariaDB) is being used as the application database. A malicious attacker can issue SQL commands to the MySQL (MariaDB) database through the index.php username parameter.
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 3.6% (top 11%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2021-09-01 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: security-n/CVE-2021-39377 (0 stars)
- Write-up: github.com/OS4ED/openSIS-Classic
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-39377?
opensis: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-39377 being exploited?
CVE-2021-39377 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-39377 affect?
CVE-2021-39377 affects opensis. Severity is critical (CVSS 9.8). A SQL Injection vulnerability exists in openSIS 8.0 when MySQL (MariaDB) is being used as the application database. A malicious attacker can issue SQL commands to the MySQL (MariaDB) database through the index.php username parameter.
How urgent is CVE-2021-39377?
Priority 72/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Software pages
PHP vulnerabilities · MySQL vulnerabilities · MariaDB vulnerabilities
Related CVEs
- CVE-2025-65594 HIGH 8.1 UPGRADE OpenSIS 9.2 and below is vulnerable to Incorrect Access Control in Student.php, which allows an authenticated
- CVE-2026-11944 MEDIUM 6.5 DOWNGRADE openSIS Classic 9.3 contains an authenticated path traversal vulnerability in the legacy messaging sent-mail a
- CVE-2024-35584 HIGH 8.8 DOWNGRADE SQL injection vulnerabilities were discovered in Ajax.php, ForWindow.php, ForExport.php, Modules.php, function
- CVE-2025-26186 HIGH 8.1 DOWNGRADE SQL Injection vulnerability in openSIS v.9.1 allows a remote attacker to execute arbitrary code via the id par
- CVE-2025-22931 HIGH 7.5 UPGRADE An insecure direct object reference (IDOR) in the component /assets/stafffiles of OS4ED openSIS v7.0 to v9.1 a