Gogs >= 0.3.1, < 0.5.8 Multiple Vulnerabilities
🗓️ 06 Feb 2015 00:00:00Reported by Copyright (C) 2015 Greenbone Networks GmbHType
openvas🔗 plugins.openvas.org👁 28 Views
| Reporter | Title | Published | Views | Family All 44 |
|---|---|---|---|---|
| Gogs Blind SQL Injection Vulnerability | 15 Nov 201400:00 | – | zdt | |
| Gogs Markdown Renderer Cross Site Scripting Vulnerability | 16 Nov 201400:00 | – | zdt | |
| CVE-2014-8681 | 21 Nov 201415:00 | – | cve | |
| CVE-2014-8682 | 21 Nov 201415:00 | – | cve | |
| CVE-2014-8683 | 21 Nov 201415:00 | – | cve | |
| CVE-2014-8681 | 21 Nov 201415:00 | – | cvelist | |
| CVE-2014-8682 | 21 Nov 201415:00 | – | cvelist | |
| CVE-2014-8683 | 21 Nov 201415:00 | – | cvelist | |
| Gogs - 'label' SQL Injection | 14 Nov 201400:00 | – | exploitdb | |
| Gogs - 'users'/'repos' '?q' SQL Injection | 14 Nov 201400:00 | – | exploitdb |
10
# Copyright (C) 2015 Greenbone Networks GmbH
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
CPE = "cpe:/a:gogs:gogs";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.105952");
script_version("2022-04-14T06:42:08+0000");
script_tag(name:"last_modification", value:"2022-04-14 06:42:08 +0000 (Thu, 14 Apr 2022)");
script_tag(name:"creation_date", value:"2015-02-06 14:11:04 +0700 (Fri, 06 Feb 2015)");
script_tag(name:"cvss_base", value:"7.5");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_cve_id("CVE-2014-8681", "CVE-2014-8682", "CVE-2014-8683");
script_name("Gogs >= 0.3.1, < 0.5.8 Multiple Vulnerabilities");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2015 Greenbone Networks GmbH");
script_family("Web application abuses");
script_dependencies("gb_gogs_http_detect.nasl");
script_mandatory_keys("gogs/detected");
script_tag(name:"summary", value:"Gogs is prone to multiple vulnerabilities.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"The following flaws exist:
- CVE-2014-8681: SQL injection vulnerability in the GetIssues function in models/issue.go.
- CVE-2014-8682: Multiple SQL injection vulnerabilities in the q parameter of api/v1/repos/search,
which is not properly handled in models/repo.go and in api/v1/users/search, which is not properly
handled in models/user.go.
- CVE-2014-8683: Cross-site scripting (XSS) vulnerability in models/issue.go.");
script_tag(name:"impact", value:"Unauthenticated attackers can exploit these vulnerabilities to
perform an XSS attack or execute arbitrary SQL commands which may lead to a complete compromise of
the database.");
script_tag(name:"affected", value:"Gogs versions starting with 0.3.1 and prior to 0.5.8.");
script_tag(name:"solution", value:"Update to version 0.5.8 or later.");
script_xref(name:"URL", value:"https://github.com/gogs/gogs/releases/tag/v0.5.8");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/71188");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/71187");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/71186");
script_xref(name:"URL", value:"https://github.com/advisories/GHSA-mr6h-chqp-p9g2");
script_xref(name:"URL", value:"https://github.com/advisories/GHSA-g6xv-8q23-w2q3");
script_xref(name:"URL", value:"https://github.com/advisories/GHSA-9hx4-qm7h-x84j");
script_xref(name:"URL", value:"http://packetstormsecurity.com/files/129116/Gogs-Label-Search-Blind-SQL-Injection.html");
script_xref(name:"URL", value:"http://packetstormsecurity.com/files/129117/Gogs-Repository-Search-SQL-Injection.html");
script_xref(name:"URL", value:"http://packetstormsecurity.com/files/129118/Gogs-Markdown-Renderer-Cross-Site-Scripting.html");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"remote_banner");
exit(0);
}
include("host_details.inc");
include("version_func.inc");
if (!port = get_app_port(cpe: CPE))
exit(0);
if (!version = get_app_version(cpe: CPE, port: port))
exit(0);
if (version_in_range_exclusive(version: version, test_version_lo: "0.3.1", test_version_up: "0.5.8")) {
report = report_fixed_ver(installed_version: version, fixed_version: "0.5.8");
security_message(port: port, data: report);
exit(0);
}
exit(99);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
14 Apr 2022 00:00Current
6.4Medium risk
Vulners AI Score6.4
CVSS 27.5
EPSS0.33391