Skip to content
Info disclosure Advisory Advanced CVE-2022-32742

Samba SMB1 Out-Of-Bounds Read Information Disclosure Vulnerability

A crafted SMB1 command can cause a read past the end of an allocated buffer in the Samba service. An attacker could use this to disclose sensitive information from the service process or cause a denial of service.

Luca Moro Follow

Originally disclosed on Zero Day Initiative

Medium 5.9 View original

This vulnerability allows remote attackers to disclose sensitive information on affected installations of Samba. Authentication is required to exploit this vulnerability, and SMB1 must be enabled on the target.

Luca Moro (@johncool__), on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could disclose sensitive information in the context of the Samba service process or create a denial-of-service condition; authentication and SMB1 being enabled are required.

What the attacker needed

Authentication required; SMB1 enabled on target

The fix

Samba issued an update to correct this vulnerability.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

SMB1 is an old file-sharing protocol. A buffer is a fixed-size memory area; reading past its end can leak nearby data or crash the program. Here, an authenticated attacker who can send SMB1 commands could read memory contents or disrupt the service.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Luca Moro

View all

2 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.