CVE-2024-9194·Kernel vulnerability
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Linux and Microsoft Windows Octopus Server on Windows, Linux allows SQL Injection.This issue affects Octopus Server: from 2024.1.0 before 2024.1.13038, from 2024.2.0 before 2024.2.9482, from 2024.3.0 before 2024.3.12766.
- Severity
- critical
- Software
- Kernel
- Fixed in
- 2024.3.12766
- Published
- 2024-09-30
Affected versions
From: 2024.3.164
Until: 2024.3.12766
Fixed in: 2024.3.12766
How to fix this CVE
Update Octopus Server immediately to version 2024.3.12766 or later to patch a critical SQL injection vulnerability that could allow unauthenticated remote attackers to compromise your deployment pipeline and extract sensitive data. Organizations running versions 2024.1.0–2024.1.13037, 2024.2.0–2024.2.9481, or 2024.3.0–2024.3.12765 should prioritize this update as the vulnerability requires no user interaction and can be exploited over the network.
sudo dnf update octopus-serverDefensia detects this vulnerability
What an exploitation attempt looks like
Sample log line indicative of exploitation attempts:
POST|GET requests to Octopus Server endpoints containing SQL metacharacters in query parameters (UNION, SELECT, --) or encoded payloads (e.g., %27%20OR%20, %2d%2d); monitor for HTTP 500 errors or database timeout responses that may indicate failed injection attemptsWAF mitigation (if patching is not yet possible)
Add this rule to your WAF to block exploitation attempts while you schedule the patch.
Implement parameterized query filtering: block HTTP requests containing unencoded SQL operators (UNION, INTERSECT, EXCEPT, SELECT, INSERT, UPDATE, DELETE, DROP, EXEC, SCRIPT) in GET/POST parameters. Configure WAF rules to enforce strict input validation on Octopus API endpoints and deny requests with SQL syntax characters outside of whitelisted fields.How to check if you are affected
- Run `octopus-server --version` or check the Octopus Server web UI (Settings > About) to confirm your installed version number
- Verify that user input validation is enforced on all database query parameters by reviewing Octopus Server configuration logs for any disabled security filters
- Search application logs for SQL syntax errors or unusual SQL fragments in request parameters: `grep -i 'sql.*syntax\|union\|select\|insert\|update\|delete' /var/log/octopus/server.log`
- Confirm the patch was applied by re-checking the version number and ensuring it matches 2024.3.12766 or later
FAQ
What is CVE-2024-9194?
CVE-2024-9194 is a critical SQL injection flaw in Octopus Server that allows attackers to manipulate database queries through unvalidated user input, potentially leading to unauthorized data access, modification, or deletion without authentication.
Is CVE-2024-9194 being actively exploited?
No, this vulnerability is not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits have been disclosed as of the advisory date.
What versions of Octopus Server are affected by CVE-2024-9194?
Versions 2024.1.0 through 2024.1.13037, 2024.2.0 through 2024.2.9481, and 2024.3.0 through 2024.3.12765 are vulnerable. All 2024.3.164+ versions up to (but not including) 2024.3.12766 are affected.
How do I check if my Octopus Server is vulnerable to CVE-2024-9194?
Log into your Octopus Server dashboard, navigate to Settings > About, and compare the version number against the affected ranges. If your version is below 2024.3.12766, you are vulnerable.
Does Defensia detect CVE-2024-9194?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Octopus Server is installed on a monitored server, CVE-2024-9194 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-9194. Free for 1 server.
Get started free