Arbitrary file upload in Churchdb Churchinfo

CVE-2021-43258

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.

Vulnerability class: Unrestricted File Upload

EPSS: 0.105 (95.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2021-43258?
CVE-2021-43258 is a high-severity vulnerability in Churchdb Churchinfo, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 8.8/10. Published 2022-11-23.
How severe is CVE-2021-43258?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2021-43258 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.