April Vulnerability of the Month: Password Free-for-All Via Samba Active Directory Domain Controller

save
Share and earn Cybytes
Facebook Twitter LinkedIn Email

Every month, we ask our researchers to nominate a vulnerability of the month. Novelty, sophistication or just plain weirdness are some of the potential criteria for selecting a vulnerability of the month. After the nominations are collected, the candidates are shortlisted and voted on by our 70-plus-member research organization, combining the total experience and knowledge of Tenable Research to identify the vulnerability of the month.

Background

In mid-March, Samba released an advisory on two critical vulnerabilities. One of these, CVE-2018-1057, allows unprivileged users to change any user password including privileged service and admin user accounts. Researcher Björn Baumbach from SerNet is credited with discovering this vulnerability.

What makes this the vulnerability of the month?

Samba administrators were likely eager to mitigate this vulnerability in mid-March based on the serious implications of CVE-2081-1057 and the other vulnerability included in the patch release. Samba is free, open-source software for file and print services that helps integrate Linux/Unix servers and desktops into Active Directory environments. These qualities have made Samba very popular with widespread prevalence, meaning any vulnerabilities in Samba have potentially wide-reaching impact. One common application of Samba is to provide file and printer sharing services for Linux-based network attached storage (NAS) and storage area network (SAN) systems. Samba file servers can store diverse data, including sensitive data, personally identifiable information and intellectual property.

CVE-2081-1057, in particular, has both accidental and malicious implications. On the accidental, potentially mischievous side, authenticated users could change their coworkers’ passwords, locking them out as a fun office prank.

More seriously, malicious attackers who have gained any legitimate credentials, for example via social engineering, can change the passwords of admin and domain controller accounts and thereby take control of them, escalating their privileges. Using a simple phishing campaign, coupled with this vulnerability, an attacker could navigate through targeted environments horizontally and vertically throughout the organization with minimal effort.

However, attackers don’t have to rely on social engineering or phishing to leverage this vulnerability. Once a machine has been compromised, it can be leveraged to interact with Samba Active Directory Domain Controller (AD DC) and allow the attacker to access accounts with similar or increased permissions.

Vulnerability details

According to the advisory, in all versions of Samba AD DC from 4.0.0 onward, the Lightweight Directory Access Protocol (LDAP) server incorrectly validates permissions to change passwords. This allows authenticated users to change other users’ passwords, including administrative users and DCs.

The advisory specifies that “the LDAP server incorrectly validates certain LDAP password modifications against the ‘Change Password’ privilege, but then performs a password reset operation.”

Samba released a patch for Samba versions 4.7.6, 4.6.14 and 4.5.16 and outlined a few workarounds, including revoking change password rights “for ‘the world’ from all user objects (including computers) in the directory, leaving only the right to change a user’s own password.”

Additional resources

Share this post and earn Cybytes
Facebook Twitter LinkedIn Email
Follow
1608 Followers
About Tenable
Tenable™, Inc. is the Cyber Exposure company. Over 24,000 organizations of all sizes around the globe rely on Tenable to manage and measure their modern attack surface to accurately understand and reduce cyber risk. As the creator of Nessus®, Tenable built its platform from the ground up to deeply understand assets, networks and vulnerabilities, extending this knowledge and expertise into Tenable.io™ to deliver the world’s first platform to provide live visibility into any asset on any computing platform. Tenable customers include over 50 percent of the Fortune 500, large government agencies and organizations across the private and public sectors. Learn more at tenable.com.
Promoted Content
Five Steps to Building a Successful Vulnerability Management Program
Is your vulnerability management program struggling? Despite proven technology solutions and the best efforts of IT teams, unresolved vulnerabilities remain an ongoing source of friction and frustration in many organizations. Regardless of how many vulnerabilities are fixed, there will always be vulnerabilities that can’t easily be remediated – and too often, finger-pointing between IT teams and business groups can ensue.

Our Revolution

We believe Cyber Security training should be free, for everyone, FOREVER. Everyone, everywhere, deserves the OPPORTUNITY to learn, begin and grow a career in this fascinating field. Therefore, Cybrary is a free community where people, companies and training come together to give everyone the ability to collaborate in an open source way that is revolutionizing the cyber security educational experience.

Cybrary On The Go

Get the Cybrary app for Android for online and offline viewing of our lessons.

Get it on Google Play
 

Support Cybrary

Donate Here to Get This Month's Donor Badge

 
Skip to toolbar

We recommend always using caution when following any link

Are you sure you want to continue?

Continue
Cancel