إرسال #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)
ارسال02/03/2026 04:16 PM (2 أشهر منذ)
الاعتدال14/03/2026 11:40 PM (12 days later)
الحالةتمت الموافقة
إدخال VulDB351098 [JawherKl node-api-postgres حتى 2.5 Profile Picture index.js path.extname تجاوز الصلاحيات]
النقاط20

Do you know our Splunk app?

Download it now for free!