OS Command Injection Affecting ocsinventory-server package, versions <2.5+dfsg-1


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.46% (76th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN11-OCSINVENTORYSERVER-517726
  • published4 Aug 2018
  • disclosed4 Aug 2018

Introduced: 4 Aug 2018

CVE-2018-12483  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Debian:11 ocsinventory-server to version 2.5+dfsg-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ocsinventory-server package and not the ocsinventory-server package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

OCS Inventory 2.4.1 is prone to a remote command-execution vulnerability. Specifically, this issue occurs because the content of the ipdiscover_analyser rzo GET parameter is concatenated to a string used in an exec() call in the PHP code. Authentication is needed in order to exploit this vulnerability.