Skip to content
Misconfiguration Write-up Intermediate

Exploiting CVE-2019–3652 | Owning a networked software repository to PWN endpoints.

A shared network folder containing software installers had read/write access for everyone, allowing an attacker to replace a legitimate executable with a malicious one. When a technician ran the infected installer, the attacker gained a remote shell on the endpoint.

medium.com

Published on medium.com

{{media:0}}

Russell Wells, on medium.com

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 write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the shared software repository allowed write access to all users, enabling tampering with executables.

Impact

An attacker could gain remote shells on endpoints when users executed the infected installer, though success depended on a user running the file and took a day or two.

What the attacker needed

Network access to the shared folder; write permission on the shared folder; victim executes the infected installer

The fix

The vendor patched the vulnerability and the issue was remediated; additionally, administrators should restrict write access to shared software repositories.

How it was found

  1. Find a network share containing software installers with write access for everyone.
  2. Generate shellcode using Cobalt Strike.
  3. Inject the shellcode into a legitimate executable using Shellter.
  4. Replace the original executable on the share with the infected one.
  5. Set up a listener and wait for a user to execute the infected installer.

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 write-up has not been written yet. The Original tab links to the source.

A shared folder on the network let anyone change the files inside it. The attacker swapped a legitimate installer for one that secretly ran malicious code, so when someone installed it, the attacker got control of that computer.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.