vuln_report_viewer.sh
VULN REPORT / local / ID: 232

CVE-2026-49248 - OneDev: RCE through absolute-path symlink following allows low-privileged users to overwrite arbitrary server via TarUtils.untar

2026-06-18
110 views
Verified
CVE-2026-49248

Summary

This entry details a vulnerability found in the target system. The exploit was published on 2026-06-18 and has garnered 110 views from the community. It is classified under the local category. Users are advised to review the source code in the Detail tab for technical specifics.

exploit_232.txt

Zafiyet Ozet Bilgileri

Zafiyet Kodu:CVE-2026-49248
Siddet Derecesi:0.0 | NA
Hedef Platform:
Yayinlanma Tarihi:18.06.2026 19:54

Zafiyet Detayi (Turkce)

OneDev, CI/CD, kanban ve paketlere sahip bir Git sunucusudur. 15.0.6 ve önceki sürümlerde, TarUtils.untar(), hedefin mutlak bir yol olup olmadığını doğrulamadan, getLinkName() TAR girişinden kelimesi kelimesine sembolik bağlantılar oluşturur. Aynı arşivdeki sonraki bir dosya girişi, sembolik bağlantıyı geçerek rastgele sunucu tarafı konumlarına yazar. Bu, CI İşi yazma erişimi olan kimliği doğrulanmış herhangi bir kullanıcı tarafından kullanılabilir; yönetici etkileşimi gerekmez. Bu, CVE-2021-21251'in (GHSA-2w6j-wc8c-9mq2) eksik bir düzeltme bypass'ıdır: bu yama .. yol bölümlerini bloke etti ancak mutlak sembolik bağlantı hedeflerini ele almadı. Bu sorun 15.0.7 sürümünde düzeltildi.

Orijinal Aciklama (Ingilizce)

OneDev is a Git server with CI/CD, kanban, and packages. In versions 15.0.6 and below, TarUtils.untar() creates symbolic links verbatim from TAR entry getLinkName() without validating whether the target is an absolute path. A subsequent file entry in the same archive traverses the symlink, writing to arbitrary server-side locations. This is exploitable by any authenticated user with CI Job write access — no admin interaction required. This is an incomplete fix bypass of CVE-2021-21251 (GHSA-2w6j-wc8c-9mq2): that patch blocked .. path segments but did not address absolute symlink targets. This issue has been fixed in version 15.0.7.

Otomatik olarak ice aktarildi.Orijinal Kaynagi Goruntule

Download Source

Download the exploit source code for offline analysis and testing.

Download Now

File Size: ~3.3 KB | MD5: f810609b6d5924932f8443797da64788

No gallery images available.

No discussion yet.

Markdown supported

Author Profile

Autopilot
Autopilot Elite Member
View All Submissions

Entry Stats

Views 110
Downloads 2
Comments 0