Facebook Google Plus Twitter LinkedIn YouTube RSS Menu Search Resource - BlogResource - WebinarResource - ReportResource - Eventicons_066 icons_067icons_068icons_069icons_070

Tenable Blog

Subscribe

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

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-2018-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-2018-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

Related Articles

Cybersecurity News You Can Use

Enter your email and never miss timely alerts and security guidance from the experts at Tenable.

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy.

Your Tenable Vulnerability Management trial also includes Tenable Lumin and Tenable Web App Scanning.

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

100 assets

Choose Your Subscription Option:

Buy Now

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy.

Your Tenable Vulnerability Management trial also includes Tenable Lumin and Tenable Web App Scanning.

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

100 assets

Choose Your Subscription Option:

Buy Now

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy.

Your Tenable Vulnerability Management trial also includes Tenable Lumin and Tenable Web App Scanning.

Tenable Vulnerability Management

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

100 assets

Choose Your Subscription Option:

Buy Now

Try Tenable Web App Scanning

Enjoy full access to our latest web application scanning offering designed for modern applications as part of the Tenable One Exposure Management platform. Safely scan your entire online portfolio for vulnerabilities with a high degree of accuracy without heavy manual effort or disruption to critical web applications. Sign up now.

Your Tenable Web App Scanning trial also includes Tenable Vulnerability Management and Tenable Lumin.

Buy Tenable Web App Scanning

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

5 FQDNs

$3,578

Buy Now

Try Tenable Lumin

Visualize and explore your exposure management, track risk reduction over time and benchmark against your peers with Tenable Lumin.

Your Tenable Lumin trial also includes Tenable Vulnerability Management and Tenable Web App Scanning.

Buy Tenable Lumin

Contact a Sales Representative to see how Tenable Lumin can help you gain insight across your entire organization and manage cyber risk.

Try Tenable Nessus Professional Free

FREE FOR 7 DAYS

Tenable Nessus is the most comprehensive vulnerability scanner on the market today.

NEW - Tenable Nessus Expert
Now Available

Nessus Expert adds even more features, including external attack surface scanning, and the ability to add domains and scan cloud infrastructure. Click here to Try Nessus Expert.

Fill out the form below to continue with a Nessus Pro Trial.

Buy Tenable Nessus Professional

Tenable Nessus is the most comprehensive vulnerability scanner on the market today. Tenable Nessus Professional will help automate the vulnerability scanning process, save time in your compliance cycles and allow you to engage your IT team.

Buy a multi-year license and save. Add Advanced Support for access to phone, community and chat support 24 hours a day, 365 days a year.

Select Your License

Buy a multi-year license and save.

Add Support and Training

Try Tenable Nessus Expert Free

FREE FOR 7 DAYS

Built for the modern attack surface, Nessus Expert enables you to see more and protect your organization from vulnerabilities from IT to the cloud.

Already have Tenable Nessus Professional?
Upgrade to Nessus Expert free for 7 days.

Buy Tenable Nessus Expert

Built for the modern attack surface, Nessus Expert enables you to see more and protect your organization from vulnerabilities from IT to the cloud.

Select Your License

Buy a multi-year license and save more.

Add Support and Training