BlogEngine.NET: Arbitrary File Upload Remote Code Execution (CVE-2023-33404)
BlogEngine.NET versions 3.3.8.0 and earlier are vulnerable to arbitrary file upload via the /api/upload endpoint, allowing authenticated users with EditOwnPosts permissions to achieve remote code execution.
CVE search metadata
CVE search record: CVE-2023-33404. Severity: critical. CVSS: 9.8. EPSS: 25.78%. KEV: no. Product: BlogEngine.NET (<= 3.3.8.0). Brief: BlogEngine.NET: Arbitrary File Upload Remote Code Execution (CVE-2023-33404). Brief link: https://feed.craftedsignal.io/briefs/2026-10-blogengine-rce/
BlogEngine.NET versions 3.3.8.0 and earlier contain an arbitrary file upload vulnerability (CVE-2023-33404) that facilitates remote code execution. The vulnerability resides within the application's API processing logic, specifically the /api/upload endpoint. An attacker holding the 'EditOwnPosts' permission can abuse this endpoint to upload malicious files. The application fails to properly validate the file type or path, instead saving the uploaded content to a hard-coded directory. Once the file is placed in this directory, an attacker can access the file via a standard HTTP request to trigger execution of the embedded code. This vulnerability is significant due to the availability of proof-of-concept exploit material, which increases the likelihood of exploitation against unpatched instances.
Attack Chain
- Attacker authenticates to the BlogEngine.NET instance with at least 'EditOwnPosts' privileges.
- Attacker initiates an HTTP POST request to the /api/upload endpoint with the parameter "action=video".
- The application verifies the user's 'EditOwnPosts' permissions.
- The application processes the request, utilizing the hard-coded directory path for storage.
- The server-side UploadVideo function is invoked to handle the incoming file stream.
- The application writes the malicious file to the filesystem, creating the target directory if it does not already exist.
- Attacker makes a subsequent HTTP GET request to the path where the file was saved.
- The web server executes the code contained within the uploaded file, resulting in full remote code execution.
Impact
Successful exploitation allows unauthenticated (post-authentication) attackers to gain remote code execution on the server hosting BlogEngine.NET. This grants the attacker the ability to interact with the underlying operating system, potentially leading to full system compromise, data exfiltration, or the deployment of additional malicious payloads.
Recommendation
- Identify all instances of BlogEngine.NET running version 3.3.8.0 or earlier within the enterprise environment.
- Monitor web access logs for POST requests to the /api/upload endpoint originating from user accounts with non-administrative, specific post-editing privileges.
- Deploy the Sigma rule below to detect potential exploitation attempts targeting the file upload API.
- Patch all BlogEngine.NET instances to a version later than 3.3.8.0 as soon as vendor updates become available.
Immediate actions
Identify and scan all public-facing BlogEngine.NET deployments for versioning
Mitigations
Implement WAF rules to block malicious POST requests to /api/upload
CVE-2023-33404
Detection coverage 1
Detect CVE-2023-33404 Exploitation - Unauthorized File Upload
highDetects potential exploitation of CVE-2023-33404 by monitoring for POST requests to the /api/upload endpoint, often associated with the action parameter used for video uploads.
Detection queries are available on the platform. Get full rules →