CVE-2025-4305
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedA vulnerability has been found in kefaming mayi up to 1.3.9 and classified as critical. This vulnerability affects the function Upload of the file app/tools/controller/File.php. The manipulation of the argument File leads to unrestricted upload. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe kefaming mayi application up to version 1.3.9 contains an unrestricted file upload vulnerability in the Upload function of app/tools/controller/File.php. The File parameter is not properly validated, allowing remote attackers to upload arbitrary files including executable scripts to the server.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify if kefaming mayi application is installedSearch for the application by looking for the directory structure or files containing 'kefaming' or 'mayi' in the web root, or check for the specific file path app/tools/controller/File.phpAffected if The application directory or the specific file app/tools/controller/File.php exists on the server
-
Determine the installed versionCheck version files, composer.json, or any version indicator within the application root directory. Compare the found version to the affected range (1.3.9 and earlier)Affected if The installed version is 1.3.9 or any earlier version of kefaming mayi
-
Verify the Upload function is accessibleCheck if the endpoint for the File controller's Upload function is accessible via HTTP/HTTPS. This typically involves accessing a URL path like /index.php/tools/file/upload or similar routing to app/tools/controller/File.phpAffected if The Upload function in app/tools/controller/File.php is reachable via web request and accepts file uploads
-
Check file upload configurationInspect the application configuration or the File.php controller to determine if file upload functionality is enabled and whether there is any validation on the File parameterAffected if File uploads are allowed without proper validation on the File parameter, allowing arbitrary file types to be processed
-
Determine uploaded file storage locationExamine the application configuration or the File.php code to identify where uploaded files are stored. Check if files are saved within the web root in a publicly accessible directoryAffected if Uploaded files are stored in web-accessible directories where they can be executed directly via browser access
A user is affected if they are running kefaming mayi version 1.3.9 or earlier, have the application accessible over the network, and the Upload function in app/tools/controller/File.php is exposed and processes file uploads without proper validation.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedImplement strict whitelist-based file validation including extension checking, MIME type verification, and file content analysis. Store uploaded files outside the web root or apply proper access controls to prevent execution.
latest stable version of kefaming mayi (version higher than 1.3.9)
- 1. Identify the currently running version of kefaming mayi by checking the application configuration or admin panel
- 2. Backup the entire application and database before making any changes
- 3. Download the latest stable release of kefaming mayi from the official repository or vendor
- 4. Replace the existing application files with the new version, preserving configuration files
- 5. Verify the file app/tools/controller/File.php has been updated in the new version
- 6. Test file upload functionality to ensure legitimate uploads still work
- 7. Confirm the vulnerability is no longer present by verifying proper file type/size validation is in place
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing3.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,800.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-4305 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-4305 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data