Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-E53A908D-A645-11E8-8ACD-10C37B4AC2EA: gogs -- open redirect vulnerability

Back to Search

FreeBSD: VID-E53A908D-A645-11E8-8ACD-10C37B4AC2EA: gogs -- open redirect vulnerability

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
08/06/2018
Created
03/19/2019
Added
08/23/2018
Modified
08/23/2018

Description

bluecatli (Tencent's Xuanwu Lab) reports:

The function isValidRedirect in gogs/routes/user/auth.go is used in login action to validate if url is on the same site.

If the Location header startswith /\, it will be transformed to // by browsers.

Solution(s)

  • freebsd-upgrade-package-gogs

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;