svn commit: r477824 - head/security/vuxml

Steve Wills swills at FreeBSD.org
Wed Aug 22 21:03:22 UTC 2018


Author: swills
Date: Wed Aug 22 21:03:21 2018
New Revision: 477824
URL: https://svnweb.freebsd.org/changeset/ports/477824

Log:
  Document gogs open redirect issue
  
  PR:		230800
  Submitted by:	Dmitri Goutnik <dg at syrec.org>

Modified:
  head/security/vuxml/vuln.xml

Modified: head/security/vuxml/vuln.xml
==============================================================================
--- head/security/vuxml/vuln.xml	Wed Aug 22 20:32:50 2018	(r477823)
+++ head/security/vuxml/vuln.xml	Wed Aug 22 21:03:21 2018	(r477824)
@@ -58,6 +58,34 @@ Notes:
   * Do not forget port variants (linux-f10-libxml2, libxml2, etc.)
 -->
 <vuxml xmlns="http://www.vuxml.org/apps/vuxml-1">
+  <vuln vid="e53a908d-a645-11e8-8acd-10c37b4ac2ea">
+    <topic>gogs -- open redirect vulnerability</topic>
+    <affects>
+      <package>
+	<name>gogs</name>
+	<range><lt>0.11.53_1</lt></range>
+      </package>
+    </affects>
+    <description>
+      <body xmlns="http://www.w3.org/1999/xhtml">
+	<p>bluecatli (Tencent's Xuanwu Lab) reports:</p>
+	<blockquote cite="https://github.com/gogs/gogs/issues/5364">
+	  <p>The function isValidRedirect in gogs/routes/user/auth.go is used in login action to validate if url is on the same site.</p>
+	  <p>If the Location header startswith /\, it will be transformed to // by browsers.</p>
+	</blockquote>
+      </body>
+    </description>
+    <references>
+      <url>https://github.com/gogs/gogs/issues/5364</url>
+      <url>https://github.com/gogs/gogs/pull/5365</url>
+      <url>https://github.com/gogs/gogs/commit/1f247cf8139cb483276cd8dd06385a800ce9d4b2</url>
+    </references>
+    <dates>
+      <discovery>2018-08-06</discovery>
+      <entry>2018-08-22</entry>
+    </dates>
+  </vuln>
+
   <vuln vid="9e205ef5-a649-11e8-b1f6-6805ca0b3d42">
     <topic>phpmyadmin -- XSS in the import dialog</topic>
     <affects>


More information about the svn-ports-head mailing list