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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| churchdb churchinfo | from 1.2.13 up to 1.3.0 | NVD |
All scores
| CISA-ADP | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
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
| http://www.churchdb.org/ | product | |
| https://sourceforge.net/projects/churchinfo/files/ | product | |
| https://github.com/rapid7/metasploit-framework/pull/17257 | exploit, patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-43258 changed 2025-04-28 | CVE Terms of Use |
| NVD | CVE-2021-43258 changed 2026-06-17 | Public domain |