The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-7931

CVE-2025-7931: Church Donation System RCE Vulnerability

CVE-2025-7931 is a critical remote code execution vulnerability in Church Donation System 1.0 caused by unrestricted file upload in admin_pic.php. This article covers technical details, affected versions, and mitigation.

Published: April 22, 2026

CVE-2025-7931 Overview

A critical unrestricted file upload vulnerability has been identified in code-projects Church Donation System version 1.0. The vulnerability exists in the /members/admin_pic.php file, where improper validation of the image parameter allows attackers to upload arbitrary files to the server. This flaw can be exploited remotely without authentication, potentially enabling attackers to upload malicious scripts and achieve remote code execution on vulnerable systems.

Critical Impact

Remote attackers can exploit this unrestricted file upload vulnerability to upload malicious files, potentially leading to complete server compromise and unauthorized access to sensitive donation and member data.

Affected Products

  • Carmelo Church Donation System 1.0
  • Applications using admin_pic.php file upload functionality
  • Deployments without proper file type validation

Discovery Timeline

  • 2025-07-21 - CVE-2025-7931 published to NVD
  • 2025-07-29 - Last updated in NVD database

Technical Details for CVE-2025-7931

Vulnerability Analysis

The vulnerability resides in the file upload handling mechanism within /members/admin_pic.php. The application fails to properly validate or restrict the types of files that can be uploaded through the image parameter. This improper access control (CWE-284) allows attackers to bypass intended restrictions and upload files with arbitrary extensions, including executable scripts such as PHP web shells.

When a malicious file is successfully uploaded, it can be accessed directly through the web server, allowing the attacker to execute arbitrary code in the context of the web application. The network-based attack vector with no authentication requirements makes this vulnerability particularly dangerous for internet-facing deployments.

Root Cause

The root cause of this vulnerability is the absence of proper file type validation and access control in the admin_pic.php upload handler. The application does not verify the file extension, MIME type, or content of uploaded files, nor does it implement proper access restrictions on the upload functionality. This allows any remote user to upload files without adequate security checks.

Attack Vector

The attack can be launched remotely over the network. An attacker can craft a malicious HTTP request to the /members/admin_pic.php endpoint, including a specially crafted payload in the image parameter. The exploit has been publicly disclosed, increasing the risk of active exploitation in the wild.

The attack typically involves:

  1. Identifying a vulnerable Church Donation System deployment
  2. Crafting a malicious file (such as a PHP web shell) disguised with an image-related name
  3. Uploading the file through the vulnerable admin_pic.php endpoint
  4. Accessing the uploaded malicious file to execute arbitrary commands

For detailed technical information about this vulnerability, refer to the GitHub Issue Report and the VulDB entry #317060.

Detection Methods for CVE-2025-7931

Indicators of Compromise

  • Unusual files with executable extensions (.php, .phtml, .php5) in upload directories
  • Web shell signatures or suspicious PHP files in the /members/ directory or associated upload folders
  • Unexpected HTTP POST requests to /members/admin_pic.php from external IP addresses
  • Evidence of command execution or reverse shell connections originating from the web server

Detection Strategies

  • Monitor web server access logs for suspicious POST requests to admin_pic.php
  • Implement file integrity monitoring on upload directories to detect unauthorized file additions
  • Deploy web application firewall (WAF) rules to block uploads of executable file types
  • Scan uploaded files for web shell signatures and malicious content patterns

Monitoring Recommendations

  • Enable detailed logging for all file upload operations in the application
  • Configure alerts for new file creation events in web-accessible directories
  • Monitor network traffic for outbound connections initiated by the web server process
  • Implement regular security scans of the web application directories for malicious files

How to Mitigate CVE-2025-7931

Immediate Actions Required

  • Restrict access to /members/admin_pic.php using web server access controls or authentication
  • Implement file extension whitelist allowing only image formats (.jpg, .jpeg, .png, .gif)
  • Configure upload directory to be non-executable by the web server
  • Review and remove any suspicious files already present in upload directories
  • Consider taking the application offline until proper mitigations are in place

Patch Information

No official vendor patch is currently available for this vulnerability. Organizations using Church Donation System 1.0 should implement the workarounds below and monitor for updates from the Code Projects Resource Hub. Given the public disclosure of this exploit, immediate protective measures are essential.

Workarounds

  • Add server-side file type validation that checks both file extension and MIME type
  • Implement file content verification to ensure uploaded files are valid images
  • Store uploaded files outside the web root and serve them through a controlled handler
  • Disable PHP execution in upload directories via .htaccess or web server configuration
  • Add authentication requirements to the upload functionality
bash
# Apache configuration to disable PHP execution in upload directory
# Add to .htaccess in the upload directory
<FilesMatch "\.(?i:php|php3|php4|php5|phtml)$">
    Require all denied
</FilesMatch>

# Alternative: Disable PHP engine entirely for the directory
php_flag engine off

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechCarmelo Church Donation System

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability0.09%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-284
  • Technical References
  • Code Projects Resource Hub

  • GitHub Issue Report

  • VulDB CTI #317060

  • VulDB #317060

  • VulDB Submission #618946
  • Related CVEs
  • CVE-2025-7829: Church Donation System SQLi Vulnerability

  • CVE-2025-7830: Church Donation System SQL Injection Flaw

  • CVE-2025-7831: Church Donation System SQL Injection Flaw

  • CVE-2025-7832: Church Donation System SQLi Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English