CVE-2023-43662

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-43662
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-43662.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-43662
Aliases
  • GHSA-mwcv-ghjq-8f2g
Published
2023-09-28T21:54:44Z
Modified
2025-11-04T20:12:11.908116Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N CVSS Calculator
Summary
Arbitrary file read vulnerability in Shoko Server
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-22"
    ]
}
References

Affected packages

Git / github.com/shokoanime/shokoserver

Affected ranges

Type
GIT
Repo
https://github.com/shokoanime/shokoserver
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

3.*

3.7.0.0.4

4.*

4.1.2

Other

JMM-server
Nancy

Shoko.*

Shoko.Plugin.Abstractions-v2.4.0
Shoko.Plugin.Abstractions-v2.4.0-alpha4
Shoko.Plugin.Abstractions-v2.4.0-alpha5
Shoko.Plugin.Abstractions-v2.4.0-alpha6
Shoko.Plugin.Abstractions-v2.4.1

V3.*

V3.8.0.0
V3.8.1
V3.8.2
V3.8.3

V4.*

V4.0.0

v1.*

v1.0.2
v1.0.3
v1.0.4
v1.0.5
v1.0.6

v2.*

v2.0.0
v2.1.0
v2.1.1
v2.2.0
v2.3.0-alpha1
v2.3.0-alpha2
v2.3.0-alpha4
v2.4.0-alpha1
v2.4.0-alpha3

v3.*

v3.5.0.1
v3.6.0.2
v3.6.0.3
v3.6.0.4
v3.6.1.0
v3.7.0.0
v3.7.0.1
v3.7.0.3
v3.7.0.4
v3.7.0.5
v3.7.0.6
v3.9.0
v3.9.1
v3.9.2
v3.9.3
v3.9.4
v3.9.5
v3.9.6
v3.9.7

v4.*

v4.0.0
v4.0.1
v4.1.0
v4.1.1
v4.1.2
v4.2.0
v4.2.1
v4.2.2