Gửi #798605: 666ghj MiroFish 0.1.2 Arbitrary SQLite Database Readthông tin

tiêu đề666ghj MiroFish 0.1.2 Arbitrary SQLite Database Read
Mô tảThe GET /api/simulation/<simulation_id>/posts and GET /api/simulation/<simulation_id>/comments endpoints in MiroFish v0.1.2 use the platform query parameter directly in SQLite database file path construction without any validation. The platform value is interpolated into the filename as f"{platform}_simulation.db". An attacker can inject ../ sequences into platform to open and query any SQLite database ending with _simulation.db from any directory on the server.
Nguồn⚠️ https://github.com/666ghj/MiroFish/issues/489
Người dùng
 York Shen (UID 97025)
Đệ trình07/04/2026 10:00 (cách đây 6 các tháng)
Kiểm duyệt26/04/2026 03:08 (19 days later)
Trạng tháiđược chấp nhận
Mục VulDB359632 [666ghj MiroFish đến 0.1.2 Query Parameter simulation.py get_simulation_posts platform duyệt thư mục]
điểm20

Might our Artificial Intelligence support you?

Check our Alexa App!