CVE-2026-42167
mod_sql in ProFTPD before 1.3.9a allows remote attackers to execute arbitrary code via a username, in scenarios where there is logging of USER requests with an expansion such as %U, and the SQL backend allows commands (e.g., COPY TO PROGRAM).
CVSS
- Versión: 3.1
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Puntuación base: 8.1
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 7.31%
- Percentil entre todas las CVEs puntuadas: 94
- Fecha de la puntuación: 5/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
🎯 Técnicas ATT&CK
Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.
- Explotación
T1190Exploit Public-Facing Applicationinitial access85 % - Impacto principal
T1059Command and Scripting Interpreterexecution80 % - Impacto secundario
T1005Data from Local Systemcollection75 %
ProFTPD mod_sql permite inyección SQL (CWE-89) remota sin autenticación (AV:N, PR:N) explotable por comandos SQL. Acceso de red sin privilegios = T1190. El atacante ejecuta comandos arbitrarios mediante USER logging con expansión %U hacia COPY TO PROGRAM.
Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.
🛡️ Mitigaciones ATT&CK que cubren estas técnicas
Tecnologías afectadas (1)
CWE
- CWE-89
Referencias
- http://www.proftpd.org/docs/RELEASE_NOTES-1.3.10rc1
- https://github.com/ZeroPathAI/proftpd-CVE-2026-42167-poc
- https://github.com/proftpd/proftpd/issues/2052
- https://www.openwall.com/lists/oss-security/2026/05/01/4
- https://zeropath.com/blog/proftpd-cve-2026-42167-auth-bypass-privesc-rce
- http://www.openwall.com/lists/oss-security/2026/05/01/13
- http://www.openwall.com/lists/oss-security/2026/05/01/4
- https://github.com/ZeroPathAI/proftpd-CVE-2026-42167-poc
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-42167",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-42167",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-04-29T12:51:40.626237Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "cve@mitre.org",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 8.1,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "HIGH",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.9,
"exploitabilityScore": 2.2
}
]
},
"affected": [
{
"source": "cve@mitre.org",
"affectedData": [
{
"vendor": "ProFTPD",
"product": "ProFTPD",
"versions": [
{
"status": "affected",
"version": "1.3.7b",
"lessThan": "1.3.9a",
"versionType": "custom"
}
],
"defaultStatus": "unaffected"
}
]
}
],
"published": "2026-04-28T23:16:20.610",
"references": [
{
"url": "http://www.proftpd.org/docs/RELEASE_NOTES-1.3.10rc1",
"tags": [
"Release Notes"
],
"source": "cve@mitre.org"
},
{
"url": "https://github.com/ZeroPathAI/proftpd-CVE-2026-42167-poc",
"tags": [
"Exploit",
"Third Party Advisory"
],
"source": "cve@mitre.org"
},
{
"url": "https://github.com/proftpd/proftpd/issues/2052",
"tags": [
"Exploit",
"Issue Tracking",
"Patch"
],
"source": "cve@mitre.org"
},
{
"url": "https://www.openwall.com/lists/oss-security/2026/05/01/4",
"tags": [
"Mailing List"
],
"source": "cve@mitre.org"
},
{
"url": "https://zeropath.com/blog/proftpd-cve-2026-42167-auth-bypass-privesc-rce",
"tags": [
"Exploit",
"Press/Media Coverage",
"Third Party Advisory"
],
"source": "cve@mitre.org"
},
{
"url": "http://www.openwall.com/lists/oss-security/2026/05/01/13",
"tags": [
"Mailing List"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.openwall.com/lists/oss-security/2026/05/01/4",
"tags": [
"Mailing List"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://github.com/ZeroPathAI/proftpd-CVE-2026-42167-poc",
"tags": [
"Exploit",
"Third Party Advisory"
],
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
}
],
"vulnStatus": "Analyzed",
"weaknesses": [
{
"type": "Secondary",
"source": "cve@mitre.org",
"description": [
{
"lang": "en",
"value": "CWE-89"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "mod_sql in ProFTPD before 1.3.9a allows remote attackers to execute arbitrary code via a username, in scenarios where there is logging of USER requests with an expansion such as %U, and the SQL backend allows commands (e.g., COPY TO PROGRAM)."
},
{
"lang": "es",
"value": "mod_sql en ProFTPD anterior a 1.3.10rc1 permite a atacantes remotos ejecutar código arbitrario mediante un nombre de usuario, en escenarios donde se registran las solicitudes USER con una expansión como %U, y el backend SQL permite comandos (por ejemplo, COPY TO PROGRAM)."
}
],
"lastModified": "2026-07-24T21:10:00.143",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:proftpd:proftpd:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "AB7EA00C-FD1D-4028-8DFF-4287D5CA721F",
"versionEndIncluding": "1.3.9b"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "cve@mitre.org"
}