SecurityContext

CVE-2025-27017: Apache NiFi - Hardcoded Credentials Exposure

  • Cve: CVE-2025-27017
  • Name: Apache NiFi - Hardcoded Credentials Exposure
  • Description: Apache NiFi 1.13.0 through 2.2.0 includes the username and password used to authenticate with MongoDB in the NiFi provenance events that MongoDB components generate during processing. An authorized user with read access to the provenance events of those processors may see the credentials information. Upgrading to Apache NiFi 2.3.0 is the recommended mitigation, which removes the credentials from provenance event records.
  • Impact: Authorized users can view MongoDB credentials, potentially leading to unauthorized access or data breaches.
  • Remediation: Upgrade to Apache NiFi 2.3.0 or later to remove credentials from provenance event records.
  • Vulnerability type: hardcoded_credentials
  • Vulnerability impact: information_disclosure
  • Requirement type: logged_in
  • Requirements: Attacker needs read access to provenance events
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.0125
  • Epss percentile: 0.70138
  • Assignee: [email protected]
  • Published at: 2025-03-12T17:15:50Z
  • Age in days: 622
  • Modified at: 2026-06-17T09:02:46Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-27017
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-538Insertion of Sensitive Information into Externally-Accessible File or Directory

References

UrlSourceTags
https://lists.apache.org/thread/d4n5474jkhp82dvnht13pjtlfx7bhn5qnvdMailing List, Vendor Advisory
http://www.openwall.com/lists/oss-security/2025/03/11/1nvdMailing List, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
apache:nifi>= 1.13.0, < 2.3.0nonvd/v1/products/apache/nifi

Projects

RepositoryLink kindsIndexedUrl
apache/nificommit, packageyes/v1/repositories/apache/nifi

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 246
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports