CVE-2023-43662

Public Exploit
Arbitrary file read vulnerability in Shoko Server

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.

Category

8.6
CVSS
Severity: High
CVSS 3.1 •
EPSS 91.53% Top 5%
Vendor Advisory github.com
Affected: ShokoAnime ShokoServer
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-43662?
CVE-2023-43662 has been scored as a high severity vulnerability.
How to fix CVE-2023-43662?
To fix CVE-2023-43662, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-43662 being actively exploited in the wild?
It is possible that CVE-2023-43662 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~92% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-43662?
CVE-2023-43662 affects ShokoAnime ShokoServer.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.