CVE-2024-35584
openSIS < 9.1 - SQL Injection
Record summary
CVE-2024-35584 has a selected CVSS score of 8.8 (high); EIP currently links 1 repository PoC and 1 Nuclei template.
Description
SQL injection vulnerabilities were discovered in Ajax.php, ForWindow.php, ForExport.php, Modules.php, functions/HackingLogFnc.php in OpenSis Community Edition 9.1 to 8.0, and possibly earlier versions. It is possible for an authenticated user to perform SQL Injection due to the lack to sanitisation. The application takes arbitrary value from "X-Forwarded-For" header and appends it to a SQL INSERT statement directly, leading to SQL Injection.
Exploitation context
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
opensisBrowse opensis / opensisDefault status: unknown | CVE List | 9.1 | affected |
| 8.0 | affected |
Proofs of concept
1Repository PoCs
GitHubwhwhwh96/CVE-2024-35584Repository PoCby whwhwh96Stars: 1Not analyzed1 file
Nuclei templates
1ProjectDiscoveryHIGHopenSIS < 9.1 - SQL InjectionCVSS 8.8
SQL injection vulnerability in Ajax.php, ForWindow.php, ForExport.php, Modules.php, functions/HackingLogFnc.php in OpenSis Community Edition 9.1, 8.0, and possibly earlier versions. It is possible for an authenticated user to perform SQL Injection due to the lack to sanitisation. The application takes arbitrary value from "X-Forwarded-For" header and appends it to a SQL INSERT statement directly, leading to SQL Injection.
Impact
Authenticated attackers can perform SQL injection via the X-Forwarded-For header, potentially extracting or modifying sensitive database information.
Remediation
Update openSIS to a version later than 9.1 that patches the SQL injection vulnerability.
Source: ProjectDiscovery