CVE-2021-24825
JSON

4.3medium

Custom Content Shortcode < 4.0.2 - Authenticated Arbitrary File Access / LFI

Severity
4.3medium CVSS:3.1 by NVD
Exploit likelihood
0.44% (higher than 40% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
WPScan

Description

The Custom Content Shortcode WordPress plugin before 4.0.2 does not validate the data passed to its load shortcode, which could allow Contributor+ (v < 4.0.1) or Admin+ (v < 4.0.2) users to display arbitrary files from the filesystem (such as logs, .htaccess etc), as well as perform Local File Inclusion attacks as PHP files will be executed. Please note that such attack is still possible by admin+ in single site blogs by default (but won't be when either the unfiltered_html or file_edit is disallowed)

Affected

Product or packageVersionsReported by
Unknown Custom Content Shortcodefrom 4.0.2 before 4.0.2CVE List
custom_content_shortcode_project custom_content_shortcodebefore 4.0.2NVD

All scores

NVD4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
NVD4.0medium CVSS:2.0AV:N/AC:L/Au:S/C:P/I:N/A:N

Classification

What each source says

CVE List

The Custom Content Shortcode WordPress plugin before 4.0.2 does not validate the data passed to its load shortcode, which could allow Contributor+ (v < 4.0.1) or Admin+ (v < 4.0.2) users to display arbitrary files from the filesystem (such as logs, .htaccess etc), as well as perform Local File Inclusion attacks as PHP files will be executed. Please note that such attack is still possible by admin+ in single site blogs by default (but won't be when either the unfiltered_html or file_edit is disallowed)

NVD (es)

El plugin Custom Content Shortcode de WordPress versiones anteriores a 4.0.2, no comprueba los datos pasados a su shortcode de carga, lo que podría permitir a usuarios de Contributor+ (versiones anteriores a 4.0.1) o Admin+ (versiones anteriores a 4.0.2) mostrar archivos arbitrarios del sistema de archivos (como registros, .htaccess, etc), así como llevar a cabo ataques de inclusión de archivos locales, ya que serán ejecutados archivos PHP. Por favor, tenga en cuenta que este tipo de ataque sigue siendo posible por admin+ en los blogs de un solo sitio por defecto (pero no lo será cuando el unfiltered_html o el file_edit estén deshabilitados)

References

Sources

SourceRecordLicence
CVE ListCVE-2021-24825 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-24825 changed 2026-06-17Public domain