SB2018080816 - Multiple vulnerabilities in gogs.io gogs



SB2018080816 - Multiple vulnerabilities in gogs.io gogs

Published: August 8, 2018 Updated: August 8, 2020

Security Bulletin ID SB2018080816
Severity
High
Patch available
NO
Number of vulnerabilities 3
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 67% Low 33%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 3 secuirty vulnerabilities.


1) Cross-site scripting (CVE-ID: CVE-2018-17031)

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

In Gogs 0.11.53, an attacker can use a crafted .eml file to trigger MIME type sniffing, which leads to XSS, as demonstrated by Internet Explorer, because an "X-Content-Type-Options: nosniff" header is not sent.


2) Server-Side Request Forgery (SSRF) (CVE-ID: CVE-2018-16409)

The vulnerability allows a remote non-authenticated attacker to gain access to sensitive information.

In Gogs 0.11.53, an attacker can use migrate to send arbitrary HTTP GET requests, leading to SSRF.


3) Cross-site request forgery (CVE-ID: CVE-2018-15193)

The vulnerability allows a remote attacker to perform cross-site request forgery attacks.

The vulnerability exists due to insufficient validation of the HTTP request origin. A remote attacker can trick the victim to visit a specially crafted web page and perform arbitrary actions on behalf of the victim on the vulnerable website.


Remediation

Cybersecurity Help is not aware of any official remediation provided by the vendor.