Lucene search
+L

EulerOS 2.0 SP12 : proftpd (EulerOS-SA-2026-3373)

🗓️ 08 Sep 2026 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 3 Views

ProFTPD heap overflow in mod_sftp and SQL injection in mod_wrap2_sql on EulerOS 2.0 SP12.

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2026-53994
18 Jul 202619:30
attackerkb
attackerkb
ATTACKERKB
CVE-2026-44331
5 May 202619:41
attackerkb
alpinelinux
AlpineLinux
CVE-2026-44331
5 May 202619:41
alpinelinux
alpinelinux
AlpineLinux
CVE-2026-53994
18 Jul 202619:30
alpinelinux
bdu_fstec
BDU FSTEC
The vulnerability of the sqltabFetchClientsCB() function in the ProFTPD FTP server allows a hacker to execute arbitrary SQL commands.
6 May 202600:00
bdu_fstec
circl
Circl
CVE-2026-44331
5 May 202620:20
circl
circl
Circl
CVE-2026-53994
19 Jul 202601:30
circl
cnnvd
CNNVD
ProFTPD SQL注入漏洞
5 May 202600:00
cnnvd
cve
CVE
CVE-2026-44331
5 May 202619:41
cve
cve
CVE
CVE-2026-53994
18 Jul 202619:30
cve
Rows per page
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(343634);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/09/08");

  script_cve_id("CVE-2026-44331", "CVE-2026-53994");

  script_name(english:"EulerOS 2.0 SP12 : proftpd (EulerOS-SA-2026-3373)");

  script_set_attribute(attribute:"synopsis", value:
"The remote EulerOS host is missing multiple security updates.");
  script_set_attribute(attribute:"description", value:
"According to the versions of the proftpd package installed, the EulerOS installation on the remote host is affected by
the following vulnerabilities :

    ProFTPD mod_sftp contains a heap-based buffer overflow reachable by an authenticated SFTP user. The
    fxp_packet_read() function accepts the attacker-supplied 32-bit big-endian SFTP packet length without a
    minimum sanity check. A value of 0 causes an unsigned subtraction elsewhere in the read path to underflow
    to approximately 4 GB. That oversized request reaches the core memory allocator, where the rounded size is
    computed in size_t but passed to new_block() as a 32-bit int; the low 32 bits of 0x100000000 are 0, so
    new_block() returns a small (~512-byte) block while the caller is told it received ~4 GB. The subsequent
    fill loop then streams attacker-controlled bytes past the end of the 544-byte allocation, producing an
    attacker-controlled heap buffer overflow. An authenticated user can crash the per-connection ProFTPD
    session child on demand with a single malformed SFTP packet (packet_len=0 followed by a body greater than
    approximately 544 bytes), producing reliable authenticated remote denial of service. Depending on heap
    layout and adjacent allocations, heap metadata corruption and further consequences beyond denial of
    service may be possible, though only denial of service is demonstrated by the supplied proof of
    concept.(CVE-2026-53994)

    In ProFTPD through 1.3.9a before 7666224, a SQL injection vulnerability in sqltab_fetch_clients_cb() in
    contrib/mod_wrap2_sql.c allows a remote attacker to inject arbitrary SQL commands via a crafted domain
    name that is accessed in a reverse DNS lookup. When 'UseReverseDNS on' is enabled, the attacker-supplied
    hostname is passed unescaped into SQL queries. The character restrictions of DNS names may affect
    exploitability.(CVE-2026-44331)

Tenable has extracted the preceding description block directly from the EulerOS proftpd security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
  # https://developer.huaweicloud.com/ict/en/site-euleros/euleros/security-advisories/EulerOS-SA-2026-3373
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?c7b64caf");
  script_set_attribute(attribute:"solution", value:
"Update the affected proftpd packages.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:N/I:N/A:C");
  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:L/UI:N/S:U/C:N/I:N/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:H/AT:N/PR:L/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-53994");

  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/05/05");
  script_set_attribute(attribute:"patch_publication_date", value:"2026/09/08");
  script_set_attribute(attribute:"plugin_publication_date", value:"2026/09/08");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:huawei:euleros:proftpd");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:huawei:euleros:2.0");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Huawei Local Security Checks");

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

  script_dependencies("ssh_get_info.nasl");
  script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/EulerOS/release", "Host/EulerOS/rpm-list", "Host/EulerOS/sp");
  script_exclude_keys("Host/EulerOS/uvp_version");

  exit(0);
}

include("rpm.inc");

if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);

var _release = get_kb_item("Host/EulerOS/release");
if (isnull(_release) || _release !~ "^EulerOS") audit(AUDIT_OS_NOT, "EulerOS");
var uvp = get_kb_item("Host/EulerOS/uvp_version");
if (_release !~ "^EulerOS release 2\.0(\D|$)") audit(AUDIT_OS_NOT, "EulerOS 2.0 SP12");

var sp = get_kb_item("Host/EulerOS/sp");
if (isnull(sp) || sp !~ "^(12)$") audit(AUDIT_OS_NOT, "EulerOS 2.0 SP12");

if (!empty_or_null(uvp)) audit(AUDIT_OS_NOT, "EulerOS 2.0 SP12", "EulerOS UVP " + uvp);

if (!get_kb_item("Host/EulerOS/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);

var cpu = get_kb_item("Host/cpu");
if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$" && "aarch64" >!< cpu && "x86" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "EulerOS", cpu);
if ("aarch64" >!< cpu) audit(AUDIT_ARCH_NOT, "aarch64", cpu);

var flag = 0;

var pkgs = [
  "proftpd-1.3.7c-4.h12.eulerosv2r12"
];

foreach (var pkg in pkgs)
  if (rpm_check(release:"EulerOS-2.0", sp:"12", reference:pkg)) flag++;

if (flag)
{
  security_report_v4(
    port       : 0,
    severity   : SECURITY_WARNING,
    extra      : rpm_report_get()
  );
  exit(0);
}
else
{
  var tested = pkg_tests_get();
  if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
  else audit(AUDIT_PACKAGE_NOT_INSTALLED, "proftpd");
}

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

08 Sep 2026 00:00Current
CVSS 3.16.5 - 8.1
CVSS 47.7
EPSS0.00455
SSVC
3