Skip to content
Info disclosure Advisory Advanced CVE-2020-15704

Canonical Ubuntu Point-to-Point Protocol Daemon Arbitrary File Read Information Disclosure Vulnerability

The pppd daemon on Canonical Ubuntu did not properly validate user-supplied data when handling environment variables, which allowed a local attacker to read arbitrary files. An attacker with low-privileged code execution could use this to disclose stored credentials and move on to further compromise.

Thomas Chauchefoin Follow

Originally disclosed on Zero Day Initiative

Medium 5.5 View original

This vulnerability allows local attackers to read arbitrary files on affected installations of Canonical Ubuntu. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

Thomas Chauchefoin (@swapgs) from Synacktiv (@Synacktiv), 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 pppd trusted environment variable values without validating them, so crafted values could point it at files outside its intended scope.

Impact

A local attacker who can already run low-privileged code could read arbitrary files and disclose stored credentials, leading to further compromise.

What the attacker needed

Local low-privileged code execution

The fix

The vendor released security notices for Ubuntu, so the issue was fixed by updating pppd to the patched version.

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.

pppd is the program that handles point-to-point network connections, such as dial-up or VPN links. It read some settings from environment variables, which are named values passed to a program when it starts, without checking them properly. Because of that, someone who could already run a little code on the machine could make pppd read files they should not see, such as files holding passwords.

What is Info disclosure?

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

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.