All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Security audit of Forgejo reveals numerous critical vulnerabilities

By

jvoisin

1mo ago· 2 min readenInsight

Summary

Security researcher Julien Voisin (jvoisin) conducted a security audit of Forgejo, the Git hosting platform that Fedora recently migrated to from Pagure. The audit revealed numerous critical security vulnerabilities including Server-Side Request Forgery (SSRF) in many places, lack of Content Security Policy (CSP) and Trusted-Types, insecure JavaScript templating, cryptographic malpractices, flaws in authentication mechanisms (OAuth2, OTP, session/access handling, post-compromise recovery), denial-of-service vulnerabilities, information leaks, and Time-of-Check Time-of-Use (TOCTOU) issues. The researcher found a significant number of vulnerabilities in just one evening of work.

Key quotes

· 2 pulled
The results aren't pretty to be honest: SSRF in a lot of places, no CSP/Trusted-Types, a bit of ghetto templating in javascript, cryptographic malpractices, overlooks in the authentication mechanisms (OAuth2, OTP, sessions/access handling, post-compromission recovery, …), a bunch of low-hanging DoS, information leak all over the place, various TOCTOU, …
All in all, it took me one evening after work to find a good amount of vulnerabilities (adding to the one I go
Snippet from the RSS feed
Personal blog of Julien (jvoisin) Voisin

You might also wanna read