提出 #770002: Jawher Kl node-api-postgres 2.5 Unrestricted File Upload情報

タイトルJawher Kl node-api-postgres 2.5 Unrestricted File Upload
説明A Critical Unrestricted File Upload vulnerability exists in the node-api-postgres application. In index.js, the POST /users/:id/profile-picture endpoint utilizes a locally instantiated multer configuration that completely omits the fileFilter and size limitations enforced elsewhere in the application. It preserves the original file extension using path.extname() and serves uploaded content statically via the /uploads directory. An attacker can bypass intended image restrictions to upload dangerous file types (such as .html or executable scripts), leading to Stored Cross-Site Scripting (XSS) or potential Remote Code Execution (RCE) depending on the server environment.
ソース⚠️ https://hackmd.io/@YzU_KiOzT86cEbFQdBceVg/Bk56LQQYbe
ユーザー
 yeee3642 (UID 91336)
送信2026年03月02日 16:16 (2 月 ago)
モデレーション2026年03月14日 23:40 (12 days later)
ステータス承諾済み
VulDBエントリ351098 [JawherKl node-api-postgres 迄 2.5 Profile Picture index.js path.extname 特権昇格]
ポイント20

Might our Artificial Intelligence support you?

Check our Alexa App!