جزئیات آسیبپذیری
CVE-2022-1884
gogs gogsgogs gogs/gogs
Remote Command Execution in gogs/gogs
CVSS 3.0
10.0بحرانی
شرح رسمی (انگلیسی)
A remote command execution vulnerability exists in gogs/gogs versions <=0.12.7 when deployed on a Windows server. The vulnerability arises due to improper validation of the `tree_path` parameter during file uploads. An attacker can set `tree_path=.git.` to upload a file into the .git directory, allowing them to write or rewrite the `.git/config` file. If the `core.sshCommand` is set, this can lead to remote command execution.
امتیازهای CVSS
| امتیاز | نسخه | منبع | بردار |
|---|---|---|---|
| 10.0بحرانی | 3.1 | CISA ADP / Vulnrichment (CISA-ADP) | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| 10.0بحرانی | 3.0 | CVEProject cvelistV5 (CNA) (@huntr_ai) | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
محصولات آسیبپذیر
| فروشنده | محصول | نسخهها | منبع |
|---|---|---|---|
| gogs | gogs | v ≤ 0.12.7 | CISA ADP / Vulnrichment |
| gogs | gogs/gogs | v ≤ latest | CVEProject cvelistV5 (CNA) |
منابع و راهنماها
۱
هشدار CVEهای بعدی این محصولمحصول را دنبال کنید تا آسیبپذیریهای تازه را در تلگرام بگیرید.
اطلاعات
- تاریخ انتشار
- ۱۴۰۳/۰۸/۲۵
- آخرین بهروزرسانی
- ۱۴۰۳/۰۸/۲۵
- وضعیت
- منتشرشده
- صادرکننده (CNA)
- @huntr_ai
پیشبینی بهرهبرداری (EPSS)
۱٫۸۴٪
احتمال بهرهبرداری در ۳۰ روز
۷۹٫۱٪
صدک (نسبت به همهی CVEها)
ارزیابی SSVC (CISA)
- قابل خودکارسازی
- بله
- وضعیت بهرهبرداری
- اثبات مفهوم
- اثر فنی
- کامل
ضعفها (CWE)
- CWE-78Improper Neutralization of Special Elements used in an OS Command