PT-2020-14625

CVE-2020-15779

·

تاريخ النشر

2020-07-07

·

تاريخ التحديث

2020-07-22

الوصف من

CVSS 3.1
7.5
عالية
المقاييسAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions socket.io-file versions through 2.0.31
Description A Path Traversal issue was discovered in the socket.io-file package for Node.js. The socket.io-file::createFile message uses path.join with ../ in the name option, and the uploadDir and rename options determine the path. The package fails to sanitize user input and uses it to generate the file upload paths, allowing files to be uploaded to arbitrary folders on the server by sending relative paths on the name value.
Recommendations For versions through 2.0.31, consider disabling the socket.io-file::createFile message until a patch is available to prevent exploitation of the Path Traversal issue. Restrict access to the uploadDir and rename options to minimize the risk of arbitrary file uploads. Avoid using the name option in the socket.io-file::createFile message with relative paths until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
قابلية الاستغلال
استغلال
التأثيرات
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-9H4G-27M8-QJRG
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾