{"id":"CVE-2021-43258","published":"2022-11-23T00:00:00Z","modified":"2025-04-28T20:20:38Z","title":"CartView.php in ChurchInfo 1.3.0 allows attackers to achieve remote code execution through insecure uploads","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.15357,"percentile":0.96858,"provenance":"source"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"references":[{"url":"http://www.churchdb.org/","tags":[]},{"url":"https://sourceforge.net/projects/churchinfo/files/","tags":[]},{"url":"https://github.com/rapid7/metasploit-framework/pull/17257","tags":[]}],"priority":{"score":30.5,"factors":[{"name":"EPSS percentile","points":19.37},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.16}]},"exploitSources":{"metasploit":[{"name":"ChurchInfo 1.2.13-1.3.0 Authenticated RCE","module":"exploit/multi/http/churchinfo_upload_exec","type":"exploit","disclosureDate":"2021-10-30","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/churchinfo_upload_exec.rb"}],"first":{"date":"2021-10-30","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/churchinfo_upload_exec.rb"},"provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-04-28T20:19:29.718411Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The flaw is an unrestricted file upload in CartView.php of ChurchInfo 1.3.0, a church management web application, where email attachments are stored without type restrictions. An attacker with an authenticated account can upload a malicious PHP file as an attachment, which is saved in the /tmp_attach/ folder and can then be requested over the network via GET, causing the server to execute it, though this requires valid credentials for the application.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:33:24Z"},"euvd":{"id":"EUVD-2021-30202","exploited":false,"provenance":"source"}}