CVE-2025-56263 Details
Description
by-night sms V1.0 has an Arbitrary File Upload vulnerability. The /api/sms/upload/headImg endpoint allows uploading arbitrary files. Users can upload files of any size and type.
A vulnerability allowing arbitrary file uploads has been identified in by-night SMS version 1.0. The issue arises in the '/api/sms/upload/headImg' endpoint, where the application fails to properly validate file types before uploading. This lack of validation allows users to upload files of any size and type, including potentially malicious ones. The vulnerability is rooted in the 'upload' method of the 'com.zjh.sms.controller.Upload' class, which directly extracts file extensions without verifying the actual file content.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 17, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/by-night/sms/issues/50 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://github.com/echo0d/vulnerability/blob/main/by-night_sms/fileUpload.md | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| by-night sms | 1.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 17, 2025 | Initial Analysis | [email protected] |
| Sep 17, 2025 | CVE Modified | CISA-ADP |
| Sep 16, 2025 | New CVE Received | [email protected] |