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

(Pwn2Own) Netatalk get_finderinfo Out-Of-Bounds Read Information Disclosure Vulnerability

The get_finderinfo method in Netatalk fails to validate user-supplied data, causing an out-of-bounds read past the end of an allocated buffer. A remote unauthenticated attacker could disclose sensitive information and potentially use it with other vulnerabilities to execute code as root.

Theori Follow

Originally disclosed on Zero Day Initiative

Medium 5.3 View original

This vulnerability allows remote attackers to disclose sensitive information on affected installations of Netatalk. Authentication is not required to exploit this vulnerability.

Theori (@theori_io), 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

Root cause

Likely, the get_finderinfo method does not properly validate the length of user-supplied data before reading it, leading to an out-of-bounds read.

Impact

A remote unauthenticated attacker could disclose sensitive information and, in conjunction with other vulnerabilities, execute arbitrary code as root.

What the attacker needed

None

The fix

Netatalk has 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.

Netatalk is software that lets Macs share files over a network. A function that reads file information did not check the size of data it received, so it could read memory beyond the intended buffer. This could let an attacker see sensitive data and, combined with other bugs, run harmful code with high privileges.

What is Info disclosure?

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

More by Theori

View all

3 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.