CVE-2023-43662

HIGH NUCLEI

ShokoServer < 4.2.2 - Unauthenticated Arbitrary File Read via Image API Endpoint

Title source: llm
STIX 2.1

Exploitation Summary

CVE-2023-43662 has a Nuclei detection template available — see the Nuclei card below for the Shodan/FOFA recon queries.

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. This issue may lead to an arbitrary file read which is exacerbated in the windows installer which installs the ShokoServer as administrator. Any unauthenticated attacker may be able to access sensitive information and read files stored on the server. The `/api/Image/WithPath` endpoint has been removed in commit `6c57ba0f0` which will be included in subsequent releases. Users should limit access to the `/api/Image/WithPath` endpoint or manually patch their installations until a patched release is made. This issue was discovered by the GitHub Security lab and is also indexed as GHSL-2023-191.

Nuclei Templates (1)

ShokoServer System - Local File Inclusion (LFI)
HIGHVERIFIEDby pussycat0x
FOFA: title="Shoko WEB UI"

Scores

CVSS v3 8.6
EPSS 0.0815
EPSS Percentile 94.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-22
Status published
Products (1)
shokoanime/shokoserver < 4.2.2
Published Sep 28, 2023
Tracked Since Feb 18, 2026