SecurityContext

CVE-2024-48651: ProFTPD ≤ 1.3.8b - Privilege Escalation via mod_sql

  • Template: CVE-2024-48651
  • Name: ProFTPD ≤ 1.3.8b - Privilege Escalation via mod_sql
  • Description: ProFTPD versions through 1.3.8b (before commit cec01cc) contain a vulnerability in the mod_sql module due to improper handling of supplemental groups. This flaw allows authenticated users without explicitly assigned supplemental groups to inherit root group privileges (GID 0), potentially granting unauthorized access to sensitive system resources.
  • Impact: Authenticated users can exploit improper supplemental group handling in mod_sql to inherit root group privileges (GID 0), potentially accessing sensitive files and system resources restricted to the root group.
  • Remediation: Upgrade to ProFTPD version newer than 1.3.8b (after commit cec01cc) that properly handles supplemental groups in the mod_sql module.
  • Severity: high
  • Authors: pussycat0x
  • Tags: cve, cve2024, network, ftp, proftpd, tcp, passive, priv-esc, vuln
  • References: https://github.com/proftpd/proftpd/commit/cec01cc0a2523453e5da5a486bc6d977c3768db1, https://github.com/proftpd/proftpd/issues/1830
  • Cves: CVE-2024-48651
  • Verified: yes
  • Max requests: 1
  • Directory: network/cves
  • Path: network/cves/2024/CVE-2024-48651.yaml
  • Digest: 4b0a0048304602210089bb5f638ea06c6a2d65f40ff6d45ceb61705aa44bb43541be00098b45da0aef022100cdced7e051a4a2b896cf3e2127d1cef897dad66d15d1633b5ec0917a0c29f905
  • Created at: 2025-10-07T03:44:34Z
  • Updated at: 2026-11-24T02:03:42Z
  • Age in days: 413
  • Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/network/cves/2024/CVE-2024-48651.yaml
  • Checked, none or zero: products

Classification

  • Cwe: CWE-863
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.0214
  • Epss percentile: 0.82512
  • Not known: cpe

Metadata

  • Max-request: 1
  • Shodan-query: product:"ProFTPD"
  • Verified: yes

Labels

  • Name: ProFTPD - Privilege Escalation
  • Impact: Attackers can gain unauthorized root-level access due to unintended GID 0 privileges.
  • Remediation: Update to version cec01cc or later.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2024-48651
  • Not known: requirements

```yaml

id: CVE-2024-48651

info:

name: ProFTPD ≤ 1.3.8b - Privilege Escalation via mod_sql

author: pussycat0x

severity: high

description: |

ProFTPD versions through 1.3.8b (before commit cec01cc) contain a vulnerability in the mod_sql module due to improper handling of supplemental groups. This flaw allows authenticated users without explicitly assigned supplemental groups to inherit root group privileges (GID 0), potentially granting unauthorized access to sensitive system resources.

impact: |

Authenticated users can exploit improper supplemental group handling in mod_sql to inherit root group privileges (GID 0), potentially accessing sensitive files and system resources restricted to the root group.

remediation: |

Upgrade to ProFTPD version newer than 1.3.8b (after commit cec01cc) that properly handles supplemental groups in the mod_sql module.

reference:

- https://github.com/proftpd/proftpd/commit/cec01cc0a2523453e5da5a486bc6d977c3768db1

- https://github.com/proftpd/proftpd/issues/1830

classification:

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

cvss-score: 7.5

cve-id: CVE-2024-48651

cwe-id: CWE-863

epss-score: 0.0214

epss-percentile: 0.82512

metadata:

verified: true

max-request: 1

shodan-query: product:"ProFTPD"

tags: cve,cve2024,network,ftp,proftpd,tcp,passive,priv-esc,vuln

tcp:

- inputs:

- data: 00000000

type: hex

host:

- "{{Hostname}}"

port: 21

read-size: 1024

matchers:

- type: dsl

dsl:

- "contains(raw, 'ProFTPD')"

- "compare_versions(version, '<= 1.3.8b')"

condition: and

extractors:

- type: regex

group: 1

name: version

regex:

- "ProFTPD ([0-9.a-z]+)"

digest: 4b0a0048304602210089bb5f638ea06c6a2d65f40ff6d45ceb61705aa44bb43541be00098b45da0aef022100cdced7e051a4a2b896cf3e2127d1cef897dad66d15d1633b5ec0917a0c29f905:922c64590222798bb761d5b6d8e72950

```