CVE-2025-13875 Details
Description
A weakness has been identified in Yohann0617 oci-helper up to 3.2.4. This issue affects the function addCfg of the file src/main/java/com/yohann/ocihelper/service/impl/OciServiceImpl.java of the component OCI Configuration Upload. Executing manipulation of the argument File can lead to path traversal. It is possible to launch the attack remotely. The exploit has been made available to the public and could be exploited. The vendor was contacted early about this disclosure but did not respond in any way.
A path traversal vulnerability has been identified in Yohann0617 oci-helper versions through 3.2.4. The issue resides in the OCI Configuration Upload feature, specifically within the addCfg function of OciServiceImpl.java. The vulnerability arises because the application fails to properly validate user-supplied filenames when uploading OCI private key files via the /api/oci/addCfg endpoint. This oversight allows authenticated attackers to manipulate the filename parameter, exploiting the application to write files to arbitrary locations on the server filesystem where the application has write permissions. Successful exploitation can lead to severe consequences, including overwriting SSH authorized_keys files to gain unauthorized access, tampering with application configuration files, escalating privileges to root, and establishing persistent backdoors through cron jobs or startup scripts.
It is recommended to implement proper filename validation and path sanitization in the addCfg function. This includes checking that filenames do not contain path traversal characters, normalizing paths to ensure they remain within intended directories, and whitelisting allowed file extensions. Additionally, security event logging for file upload operations can help monitor and audit potential exploitation attempts.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 2, 2025CISA-ADP
Assessed Dec 2, 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/Xzzz111/exps/blob/main/archives/oci-helper-path-traversal-1/report.md | [email protected] | ExploitTechnical Analysis |
| https://github.com/Xzzz111/exps/blob/main/archives/oci-helper-path-traversal-1/report.md#proof-of-concept | [email protected] | |
| https://vuldb.com/?ctiid.334031 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/?id.334031 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/?submit.692125 | [email protected] | ExploitTechnical Description |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Yohann0617 oci-helper | All versions |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 18, 2026 | CVE Translated | [email protected] |
| Sep 3, 2026 | CVE Modified | [email protected] |
| Sep 3, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Dec 2, 2025 | New CVE Received | [email protected] |
Volerion