Lucene search
+L

Gitea < 1.5.3 RCE Vulnerability

🗓️ 13 Nov 2018 00:00:00Reported by Copyright (C) 2018 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 87 Views

Gitea < 1.5.3 RCE Vulnerability, allows remote code execution due to improper session ID validatio

Related
Refs
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2018-18926
4 Nov 201806:00
cve
cvelist
Cvelist
CVE-2018-18926
4 Nov 201806:00
cvelist
euvd
EUVD
EUVD-2022-1042
3 Oct 202520:07
euvd
github
Github Security Blog
Gitea Remote Code Execution (RCE)
15 Feb 202201:57
github
gitlab
GitLab Advisory Database
Session Fixation
15 Feb 202200:00
gitlab
nvd
NVD
CVE-2018-18926
4 Nov 201805:29
nvd
osv
OSV
CVE-2018-18926
4 Nov 201805:29
osv
osv
OSV
GHSA-HF6F-JQ25-8GQ9 Gitea Remote Code Execution (RCE)
15 Feb 202201:57
osv
osv
OSV
GO-2022-0844 Gitea Remote Code Execution (RCE) in code.gitea.io/gitea
21 Aug 202415:29
osv
osv
OSV
UBUNTU-CVE-2018-18926
4 Nov 201805:29
osv
Rows per page
# SPDX-FileCopyrightText: 2018 Greenbone AG
# 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-only

CPE = "cpe:/a:gitea:gitea";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.141677");
  script_version("2023-07-20T05:05:17+0000");
  script_tag(name:"last_modification", value:"2023-07-20 05:05:17 +0000 (Thu, 20 Jul 2023)");
  script_tag(name:"creation_date", value:"2018-11-13 11:33:35 +0700 (Tue, 13 Nov 2018)");
  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_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2019-01-29 14:23:00 +0000 (Tue, 29 Jan 2019)");

  script_cve_id("CVE-2018-18926");

  script_tag(name:"qod_type", value:"remote_banner");

  script_tag(name:"solution_type", value:"VendorFix");

  script_name("Gitea < 1.5.3 RCE Vulnerability");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2018 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_gitea_http_detect.nasl");
  script_mandatory_keys("gitea/detected");

  script_tag(name:"summary", value:"Gitea is prone to a remote code execution (RCE) vulnerability.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"insight", value:"Gitea allows remote code execution because it does not properly
  validate session IDs. This is related to session ID handling in the go-macaron/session code for
  Macaron.");

  script_tag(name:"affected", value:"Gitea version 1.5.2 and prior.");

  script_tag(name:"solution", value:"Update to version 1.5.3 or later.");

  script_xref(name:"URL", value:"https://github.com/go-gitea/gitea/issues/5140");
  script_xref(name:"URL", value:"https://blog.gitea.io/2018/10/gitea-1.5.3-is-released/");

  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_is_less(version: version, test_version: "1.5.3")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "1.5.3");
  security_message(port: port, data: report);
  exit(0);
}

exit(0);

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

20 Jul 2023 00:00Current
9.9High risk
Vulners AI Score9.9
CVSS 27.5
CVSS 39.8
EPSS0.02868
87