CVE-2018-1000558 SQL injection in n/a

Medium 6.5 Published Updated

An authenticated attacker can exploit SQL injection in OCS Inventory NG web search to gain full access to the database.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-1000558?

CVE-2018-1000558 is a medium-severity SQL injection vulnerability in n/a, published on 26 Jun 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

OCS Inventory NG ocsreports 2.4 and ocsreports 2.3.1 version 2.4 and 2.3.1 contains a SQL Injection vulnerability in web search that can result in An authenticated attacker is able to gain full access to data stored within database. This attack appear to be exploitable via By sending crafted requests it is possible to gain database access. This vulnerability appears to have been fixed in 2.4.1.

Weakness: CWE-89

Which versions are affected by CVE-2018-1000558?

It affects 1 product.

Products include Ocsinventory-Ng Ocsinventory Ng.

How do I fix CVE-2018-1000558?

Upgrade to a fixed version.

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-2018-1000558 being exploited?

There is no known exploitation of CVE-2018-1000558 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2018-1000558, GHSA-4p7q-jr34-h65w, UBUNTU-CVE-2018-1000558.

Is CVE-2018-1000558 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free