MyMangaDBに脆弱性2件、認証なしで乗っ取り。修正版あり
Summary
MyMangaDBの2.7.2より前の版に、認証なしでデータベースを差し替えられ、管理者権限を奪われる脆弱性が2件あります。自前で動かしている場合は2.7.2へ更新し、不審な管理者ユーザーがいないかも調べてください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
MyMangaDBの2.7.2より前の版に、認証なしでデータベースを差し替えられ、管理者権限を奪われる脆弱性が2件あります。自前で動かしている場合は2.7.2へ更新し、不審な管理者ユーザーがいないかも調べてください。
Original description The description as published by the source.
MyMangaDB is a self-hosted manga collection manager with automatic metadata, MyAnimeList import, Docker support, and collection statistics. Prior to 2.7.2, the unauthenticated /api/v1/images/manga/save handler in backend/app/api/v1/endpoints/image.py accepts a client-controlled filename and joins it to IMAGE_SAVE_PATH without confining the result. Traversal sequences can escape the image directory and overwrite process-writable files, including DATABASE_PATH for the live SQLite database, while the client-supplied image content type does not validate the uploaded bytes. An attacker can replace the database to plant an administrative user and can overwrite other writable files, causing full application compromise and availability loss. This issue is fixed in version 2.7.2.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web github.com