PT-2022-24805

CVE-2022-39205

·

تاريخ النشر

2022-09-13

·

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

2022-10-01

الوصف من

CVSS 3.1
9.0
حرجة
المقاييسAV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Onedev versions prior to 7.3.0
Description The issue allows unauthenticated users to take over an Onedev instance if there is no properly configured reverse proxy. The "/git-prereceive-callback" endpoint, intended for localhost access, can be invoked by attackers, leading to the execution of git commands. Environment variables for this command execution can be controlled via query parameters, allowing attackers to write to arbitrary files and potentially execute arbitrary code. This attack is difficult to detect, increasing its potential impact.
Recommendations For versions prior to 7.3.0, upgrade to version 7.3.0 or later to resolve the issue. As a temporary workaround, consider restricting access to the "/git-prereceive-callback" endpoint to minimize the risk of exploitation. Additionally, ensure a properly configured reverse proxy is in place to prevent unauthorized access.
قابلية الاستغلال
استغلال
إصلاح
التأثيرات
الباحثون
المورّدون
المنتجات المتأثرة
تصنيف نقاط الضعف
المعرّفات ذات الصلة
GHSA-4F9H-H82C-4XM2
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾