CVE-2025-30474
Apache Commons VFS: Failing to find an FTP file can reveal the URI's password in an error message
Description
Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Commons VFS. The FtpFileObject class can throw an exception when a file is not found, revealing the original URI in its message, which may include a password. The fix is to mask the password in the exception message This issue affects Apache Commons VFS: before 2.10.0. Users are recommended to upgrade to version 2.10.0, which fixes the issue.
INFO
Published Date :
March 23, 2025, 3:15 p.m.
Last Modified :
July 14, 2025, 6:13 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | 
Solution
- Upgrade Apache Commons VFS to version 2.10.0 or later.
- Ensure exception messages mask sensitive URI components.
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2025-30474.
                                        
| URL | Resource | 
|---|---|
| https://issues.apache.org/jira/browse/VFS-169 | Issue Tracking Patch | 
| https://lists.apache.org/thread/w6ztgnbk6ccry3470x191g3xwrpgy6f4 | Mailing List Vendor Advisory | 
| http://www.openwall.com/lists/oss-security/2025/03/23/2 | Mailing List Third Party Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2025-30474 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2025-30474
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2025-30474 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2025-30474 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            Initial Analysis by [email protected]Jul. 14, 2025 Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:apache:commons_vfs:*:*:*:*:*:*:*:* versions up to (excluding) 2.10.0 Added Reference Type CVE: http://www.openwall.com/lists/oss-security/2025/03/23/2 Types: Mailing List, Third Party Advisory Added Reference Type Apache Software Foundation: https://issues.apache.org/jira/browse/VFS-169 Types: Issue Tracking, Patch Added Reference Type Apache Software Foundation: https://lists.apache.org/thread/w6ztgnbk6ccry3470x191g3xwrpgy6f4 Types: Mailing List, Vendor Advisory 
- 
                            CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0Apr. 01, 2025 Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L 
- 
                            CVE Modified by af854a3a-2127-422b-91ae-364da2661108Mar. 23, 2025 Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2025/03/23/2 
- 
                            New CVE Received by [email protected]Mar. 23, 2025 Action Type Old Value New Value Added Description Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Commons VFS. The FtpFileObject class can throw an exception when a file is not found, revealing the original URI in its message, which may include a password. The fix is to mask the password in the exception message This issue affects Apache Commons VFS: before 2.10.0. Users are recommended to upgrade to version 2.10.0, which fixes the issue. Added CWE CWE-200 Added Reference https://issues.apache.org/jira/browse/VFS-169 Added Reference https://lists.apache.org/thread/w6ztgnbk6ccry3470x191g3xwrpgy6f4 
 
                         
                         
                         
                                             
                                            