CVE-2018-11138: Quest KACE System Management Appliance 8.0.318 - Remote Code Execution

Description

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by anonymous users and can be abused to execute arbitrary commands on the system.

PoC

id: CVE-2018-11138

info:
  name: Quest KACE System Management Appliance 8.0.318 - Remote Code Execution
  author: ritikchaddha
  severity: critical
  description: |
    The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by anonymous users and can be abused to execute arbitrary commands on the system.
  impact: |
    An attacker can execute arbitrary commands on the affected system, potentially leading to complete system compromise, data theft, or further network exploitation.
  remediation: |
    Upgrade to a patched version of Quest KACE System Management Appliance or apply the necessary security patches provided by Quest Software.
  reference:
    - https://www.coresecurity.com/advisories/quest-kace-system-management-appliance-multiple-vulnerabilities
    - https://www.exploit-db.com/exploits/44950/
    - https://nvd.nist.gov/vuln/detail/CVE-2018-11138
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-11138
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2018-11138
    cwe-id: CWE-78
    epss-score: 0.92061
    epss-percentile: 0.99816
    cpe: cpe:2.3:a:quest:kace_system_management_appliance:8.0.318:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: quest
    product: kace_system_management_appliance
    fofa-query: icon_hash="-463230636"
  tags: cve,cve2018,quest,kace,rce,kev,passive,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    host-redirects: true
    matchers:
      - type: dsl
        dsl:
          - 'contains_any(tolower(body), "kace", "quest")'
          - 'compare_versions(detected_version, "8.0.318")'
        condition: and

    extractors:
      - type: regex
        part: body
        name: detected_version
        group: 1
        regex:
          - '\?build=([0-9.]+)'
# digest: 4a0a0047304502206153d928b5180e2535f58dac778772f7a9e01261fed711d5c0bfe1a3001e9253022100e27d1db756e6d1491daa587eba571385d2d3cad218e1923afc06a0b31c87f8d3:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities