SQL injection in Foreman - CVE-2018-1096

 

SQL injection in Foreman - CVE-2018-1096

Published: April 11, 2018


Vulnerability identifier: #VU11755
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2018-1096
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Foreman
Affected software:
Foreman

Detailed vulnerability description

The vulnerability allows a remote authenticated attacker to execute arbitrary SQL commands in web application database.

The weakness exists in the Widget id field in the dashboard controller due to insufficient sanitization of user-supplied data. A remote attacker can send a specially crafted HTTP request to vulnerable script and execute arbitrary SQL commands in web application database.

Successful exploitation of the vulnerability may allow an attacker to gain administrative access to vulnerable web application.


How to mitigate CVE-2018-1096

Update to version 1.16.1.

Sources