Securing Hadoop Clusters: Removing Passwords from XML Configs with Credential Provider API and JCEKS
One day in a Hadoop cluster, opening hive-site.xml revealed the metastore password stored in clear text. The file was readable by the entire hadoop group, multiple services, and dozens of engineers with cluster access. While formally a violation of basic security norms, this practice remains widespread.
Removing the password proved straightforward thanks to Hadoop’s built-in mechanism, yet it raised a deeper question: once the password disappeared from the config, where did it go, and did security actually improve?
Egor Ivshin, security analyst at Arenadata, is responsible for the security of the ADH product. His role involves identifying vulnerabilities through SCA, SAST, and manual testing, then working with development teams on remediation.
Origin of Secrets in Hadoop Configs
Components such as Hive, Spark, and HBase commonly store sensitive values including database passwords, encryption keys, and S3 tokens directly in XML files. Typical examples include javax.jdo.option.ConnectionPassword in hive-site.xml and AWS credentials in core-site.xml.
Historical tutorials, the need for rapid deployment, and simple inertia explain why clear-text storage persists. The result is uncontrolled proliferation of secrets across backups, developer laptops, and public repositories.
How Credential Provider API Works
The Credential Provider API lets applications request passwords from a provider rather than reading them from XML. When hadoop.security.credential.provider.path points to a JCEKS location, conf.getPassword() checks the keystore first. If the alias is absent and hadoop.security.credential.clear-text-fallback is false, the application fails instead of falling back to the XML value.
Not every component calls getPassword(); those using plain get() require either code changes or continued XML storage.
JCEKS Structure and Limitations
JCEKS is a Java keystore format that stores encrypted aliases. Hadoop supports jceks://file, localjceks://file, and jceks://hdfs URIs. HDFS storage simplifies synchronization and rotation for most services.
The format is locked to the PBEWithMD5AndTripleDES algorithm. Although NIST deprecated 3DES in 2018 and Sweet32 demonstrated practical collision attacks after 32 GB of data, the small size of keystore files keeps real-world risk low. Stronger algorithms require alternative formats or external secret managers such as OpenBao.
Protecting the Master Password
Security ultimately depends on the master password used to unlock the JCEKS file. Common approaches include environment variables, a dedicated password file with strict permissions (chmod 400), or relying on HDFS Transparent Data Encryption so no additional password is needed.
Environment variables are visible via /proc and core dumps. Password files can be placed on tmpfs but still require distribution and rotation across nodes.
Rotation and Automation in ADCM
Manual rotation involves creating a new JCEKS, updating permissions, and restarting services. Arenadata automates this via the “Manage credential encryption” action in ADCM. After execution, JCEKS files receive 640 permissions for local storage and 755 for HDFS paths, balancing security with operational requirements.
Alias names must exactly match the property names referenced in XML. The hadoop credential list command confirms stored aliases without revealing values.
Related articles
GT13 Threat Group Uses AI Tools to Breach Check Point Management Servers via CVE-2026-16232
Cybercriminals tracked by GreyNoise as GT13 compromised 24 Check Point Security Management servers across 22 organizations in 17 countries between October 17 and November 2. The attackers leveraged the known vulnerability CVE-2026-16232 to access the central policy administration panel, exfiltrate firewall databases and internal certificate authority files, issue new certificates, and disable security policies. They also used a compromised Rejetto HFS server via CVE-2026-61500 as an operational relay after failing to deploy the Linux implant ZULT. The campaign targeted financial services, energy, government, transportation, mining, engineering, and industrial sectors, with activity originating from 99 IP addresses including commercial VPNs and previously compromised hosts. GreyNoise assessed the group employs offensive AI-driven tooling that accelerates reconnaissance and exploitation of exposed management interfaces. Check Point stated the incident involved a previously disclosed vulnerability and urged organizations to apply patches and restrict management access. The group conducted follow-on reconnaissance against Citrix NetScaler, Ivanti Connect Secure, VMware vCenter, and Microsoft Exchange systems but remains unattributed to any known actor.
CISA Adds 10 Known Exploited Vulnerabilities to KEV Catalog Targeting Mitel MiCollab and Juniper Networks
The US Cybersecurity and Infrastructure Security Agency (CISA) has added ten vulnerabilities with confirmed exploitation in the wild to its Known Exploited Vulnerabilities (KEV) catalog. The update includes five flaws in Mitel MiCollab communication tools that enable unauthenticated remote code execution through OS command injection and XML injection vectors. Additional Mitel issues allow unauthenticated file uploads, authentication bypass, and sensitive data disclosure under certain conditions. Juniper Networks products are affected by a remote root command execution flaw in Session Smart Conductor and Session Smart Router. A separate authentication bypass vulnerability granting administrator privileges was also cataloged for the Xen Orchestra virtualization management platform.
Joomla Releases Security Updates for 58 Vulnerabilities Including Four Critical Issues
The Joomla development team has issued security updates addressing 58 vulnerabilities across the content management system. The patches cover Joomla 6.2.1 and Joomla 5.4.11, released on November 24, 2026. Four of the issues received a Critical rating under the CVSSv3.1 scoring system. One critical flaw, CVE-2026-123214, allows authentication bypass in the installer if the installation directory remains on a live site. Another, CVE-2026-129393, stems from improper escaping in XML generation for custom media fields and can lead to remote code execution. A third critical issue, CVE-2026-127297, involves a race condition in log file handling that may enable remote code execution when protective headers are absent.
Infotecs Developer Examines OWASP Mobile and Android App Vulnerabilities at Technical Meetup
An Android developer from Infotecs delivered a detailed talk at an internal IT meetup focused on mobile application security. The presentation highlighted how routine coding decisions often introduce vulnerabilities in Android applications and demonstrated practical ways to eliminate them. Speakers walked through the OWASP Mobile guidelines and analyzed several non-obvious security issues specific to the Android platform. Attendees reviewed live code samples that illustrated the flaws and the corresponding fixes. The session was recorded and made available for the broader technical community. The event underscores Infotecs ongoing efforts to strengthen secure development practices within its engineering teams.