CVE-2021-31818 SQL injection in Octopus Server
Authenticated attackers can exploit SQL injection in the Events REST API to access unauthorized database tables in Octopus Server.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-31818?
CVE-2021-31818 is a medium-severity SQL injection vulnerability in Octopus Server, published on 17 Jun 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Affected versions of Octopus Server are prone to an authenticated SQL injection vulnerability in the Events REST API because user supplied data in the API request isn’t parameterised correctly. Exploiting this vulnerability could allow unauthorised access to database tables.
Weakness: CWE-89
Which versions are affected by CVE-2021-31818?
It affects 1 product.
Products include Octopus Server.
How do I fix CVE-2021-31818?
No fix has been published for CVE-2021-31818 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2021-31818 being exploited?
There is no known exploitation of CVE-2021-31818 in the wild and no public exploit code.
Other vulnerabilities in Octopus Server
Sources
Also known as GHSA-6jqc-mwfj-6xjc.