Lucene search
+L

MantisBT 1.3.0 < 2.28.4 RCE (GHSA-v84x-qvhg-f36r)

🗓️ 30 Jul 2026 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 5 Views

MantisBT 1.3.0 to before 2.28.4 allows remote code execution via the admin configuration feature.

Related
Refs
Code
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(331105);
  script_version("1.2");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/07/31");

  script_cve_id("CVE-2026-49273");
  script_xref(name:"IAVA", value:"2026-B-0202");

  script_name(english:"MantisBT 1.3.0 < 2.28.4 RCE (GHSA-v84x-qvhg-f36r)");

  script_set_attribute(attribute:"synopsis", value:
"The remote host is affected by a remote code execution vulnerability.");
  script_set_attribute(attribute:"description", value:
"The version of MantisBT installed on the remote host is 1.3.0 or later but prior to 2.28.4. It is, therefore,
affected by a vulnerability:

  - A remote code execution vulnerability exists in the admin Manage Configuration feature
    (adm_config_set.php). When setting a configuration value with a non-string type, the value is passed
    through ConfigParser -> Tokenizer, which calls eval() with a return prefix intended to prevent code
    execution. However, PHP hoists function and class declarations at compile time, even past a return
    statement. An attacker can define a class in the eval'd code that hijacks a class loaded later via PHP's
    autoloader, achieving arbitrary code execution. (CVE-2026-49273)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
number.");
  # https://github.com/mantisbt/mantisbt/security/advisories/GHSA-v84x-qvhg-f36r
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?7d179f3e");
  script_set_attribute(attribute:"solution", value:
"Upgrade to MantisBT version 2.28.4 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
  script_set_attribute(attribute:"cvss4_vector", value:"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N");
  script_set_attribute(attribute:"cvss4_threat_vector", value:"CVSS:4.0/E:U");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2026-49273");

  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");

  script_set_attribute(attribute:"vuln_publication_date", value:"2026/07/15");
  script_set_attribute(attribute:"patch_publication_date", value:"2026/07/15");
  script_set_attribute(attribute:"plugin_publication_date", value:"2026/07/30");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:mantisbt:mantisbt");
  script_set_attribute(attribute:"stig_severity", value:"I");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"CGI abuses");

  script_copyright(english:"This script is Copyright (C) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("mantisbt_detect.nbin");
  script_require_keys("installed_sw/MantisBT");
  script_require_ports("Services/www", 80, 443);

  exit(0);
}

include('http.inc');
include('vcf.inc');

var app = 'MantisBT';

var port = get_http_port(default:80);

var app_info = vcf::get_app_info(app:app, port:port, webapp:TRUE);
if (empty_or_null(app_info)) audit(AUDIT_NOT_INST, app);

vcf::check_granularity(app_info:app_info, sig_segments:3);

var constraints = [
  {'min_version': '1.3.0', 'fixed_version': '2.28.4'}
];

vcf::check_version_and_report(
  app_info:app_info,
  constraints:constraints,
  severity:SECURITY_WARNING
);

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