CVE-2021-43258
JSON

8.8high

CartView.php in ChurchInfo 1.3.0 allows attackers to achieve remote code execution through insecure uploads.

Severity
8.8high CVSS:3.1 by CISA-ADP
Exploit likelihood
15.4% (higher than 96% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

CartView.php in ChurchInfo 1.3.0 allows attackers to achieve remote code execution through insecure uploads. This requires authenticated access tot he ChurchInfo application. Once authenticated, a user can add names to their cart, and compose an email. Uploading an attachment for the email stores the attachment on the site in the /tmp_attach/ folder where it can be accessed with a GET request. There are no limitations on files that can be attached, allowing for malicious PHP code to be uploaded and interpreted by the server.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
churchdb churchinfofrom 1.2.13 up to 1.3.0NVD

All scores

CISA-ADP8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-434

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

CartView.php in ChurchInfo 1.3.0 allows attackers to achieve remote code execution through insecure uploads. This requires authenticated access tot he ChurchInfo application. Once authenticated, a user can add names to their cart, and compose an email. Uploading an attachment for the email stores the attachment on the site in the /tmp_attach/ folder where it can be accessed with a GET request. There are no limitations on files that can be attached, allowing for malicious PHP code to be uploaded and interpreted by the server.

NVD (es)

CartView.php en ChurchInfo 1.3.0 permite a los atacantes lograr la ejecución remota de código mediante cargas inseguras. Esto requiere acceso autenticado a la aplicación ChurchInfo. Una vez autenticado, un usuario puede agregar nombres a su carrito y redactar un correo electrónico. Al cargar un archivo adjunto para el correo electrónico, se almacena el archivo adjunto en el sitio en la carpeta /tmp_attach/ donde se puede acceder a él con una solicitud GET. No hay limitaciones en los archivos que se pueden adjuntar, lo que permite que el servidor cargue e interprete código PHP malicioso.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-43258 changed 2025-04-28CVE Terms of Use
NVDCVE-2021-43258 changed 2026-06-17Public domain