PT-2024-32455

CVE-2024-47171

·

تاريخ النشر

2024-09-26

·

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

2024-10-30

الوصف من

CVSS 3.1
4.3
متوسطة
المقاييسAV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions Agnai versions prior to 1.0.330
Description A vulnerability in Agnai permits attackers to upload image files at attacker-chosen locations on the server. This issue can lead to image file uploads to unauthorized or unintended directories, including overwriting of existing images which may be used for defacement. The vulnerability does not affect agnai.chat, installations using S3-compatible storage, or self-hosting that is not publicly exposed. The issue is a path traversal vulnerability, where an attacker can exploit it by sending a specially crafted request to the editCharacter handler, allowing them to manipulate the path where the file is uploaded to. The id variable is string interpolated into filename without path normalization, enabling attackers to freely manipulate the upload path.
Recommendations For versions prior to 1.0.330, update to version 1.0.330 to fix the vulnerability. As a temporary workaround, consider restricting access to the entityUpload function or disabling the upload functionality until a patch is available. Additionally, restrict access to the /api/character/ endpoint to minimize the risk of exploitation.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
الباحثون
المورّدون
المنتجات المتأثرة
المعرّفات ذات الصلة
GHSA-G54F-66MW-HV66
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾