Browse / CVEs / CVE-2024-48208
CVE-2024-48208· CWE-125
Pure-FTPd < 1.0.52 - Buffer Overflow
highseverity
8.6CVSS score
1.6%likelihood of exploitation, next 30 days
76%of all CVEs are less likely
Readycheck to confirm it
Pure-FTPd versions prior to 1.0.52 contain a buffer overflow vulnerability due to an out-of-bounds read in the domlsd() function within the ls.c file. This vulnerability could allow attackers to execute arbitrary code on affected systems.
Impact
Attackers can trigger a buffer overflow in the domlsd() function through crafted FTP commands, potentially executing arbitrary code on the FTP server and compromising the entire system.
Fix
Upgrade to Pure-FTPd version 1.0.52 or later that fixes the buffer overflow vulnerability in the domlsd() function.
How to confirm it
Send: tcp probe to {{Hostname}}
Positive when: contains(raw, 'Pure-FTPd') and compare_versions(version, '< 1.0.52')Run it with nuclei: nuclei -id CVE-2024-48208 -u <target>
The full check
id: CVE-2024-48208
info:
name: Pure-FTPd < 1.0.52 - Buffer Overflow
author: pussycat0x
severity: high
description: |
Pure-FTPd versions prior to 1.0.52 contain a buffer overflow vulnerability due to an out-of-bounds read in the domlsd() function within the ls.c file. This vulnerability could allow attackers to execute arbitrary code on affected systems.
impact: |
Attackers can trigger a buffer overflow in the domlsd() function through crafted FTP commands, potentially executing arbitrary code on the FTP server and compromising the entire system.
remediation: |
Upgrade to Pure-FTPd version 1.0.52 or later that fixes the buffer overflow vulnerability in the domlsd() function.
reference:
- https://github.com/jedisct1/pure-ftpd/pull/176
- https://github.com/rohilchaudhry/CVE-2024-48208
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
cvss-score: 8.6
cve-id: CVE-2024-48208
cwe-id: CWE-125
epss-score: 0.01562
epss-percentile: 0.75464
metadata:
verified: true
max-request: 1
shodan-query: product:"Pure-FTPd"
tags: cve,cve2024,network,ftp,pure-ftpd,tcp,passive,vuln
tcp:
- inputs:
- data: 00000000
type: hex
host:
- "{{Hostname}}"
port: 21
read-size: 1024
matchers:
- type: dsl
dsl:
- "contains(raw, 'Pure-FTPd')"
- "compare_versions(version, '< 1.0.52')"
condition: and
extractors:
- type: regex
name: version
group: 1
regex:
- "Pure-FTPd ([0-9.]+)"References
Use this check only on systems you are authorised to test. Where the data comes from