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.
References
Link | Resource |
---|---|
https://github.com/ShokoAnime/ShokoServer/commit/6c57ba0f073d6be5a4f508c46c2ce36727cbce80 | Product |
https://github.com/ShokoAnime/ShokoServer/security/advisories/GHSA-mwcv-ghjq-8f2g | Exploit Mitigation Vendor Advisory |
https://github.com/ShokoAnime/ShokoServer/commit/6c57ba0f073d6be5a4f508c46c2ce36727cbce80 | Product |
https://github.com/ShokoAnime/ShokoServer/security/advisories/GHSA-mwcv-ghjq-8f2g | Exploit Mitigation Vendor Advisory |
Configurations
History
21 Nov 2024, 08:24
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/ShokoAnime/ShokoServer/commit/6c57ba0f073d6be5a4f508c46c2ce36727cbce80 - Product | |
References | () https://github.com/ShokoAnime/ShokoServer/security/advisories/GHSA-mwcv-ghjq-8f2g - Exploit, Mitigation, Vendor Advisory |
06 Oct 2023, 18:28
Type | Values Removed | Values Added |
---|---|---|
References | (MISC) https://github.com/ShokoAnime/ShokoServer/commit/6c57ba0f073d6be5a4f508c46c2ce36727cbce80 - Product | |
References | (MISC) https://github.com/ShokoAnime/ShokoServer/security/advisories/GHSA-mwcv-ghjq-8f2g - Exploit, Mitigation, Vendor Advisory | |
CPE | cpe:2.3:a:shokoanime:shokoserver:*:*:*:*:*:*:*:* | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 8.6 |
First Time |
Shokoanime
Shokoanime shokoserver |
28 Sep 2023, 22:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2023-09-28 22:15
Updated : 2024-11-21 08:24
NVD link : CVE-2023-43662
Mitre link : CVE-2023-43662
CVE.ORG link : CVE-2023-43662
JSON object : View
Products Affected
shokoanime
- shokoserver
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')