Skip to content
RCE Advisory Intermediate CVE-2023-28528

IBM Corporation AIX invscout SetUID Binary OS Command Injection Vulnerability

The invscout setUID binary on AIX 7.2 has an undocumented parameter that allows installing an arbitrary RPM, and the supplied value is concatenated into a string passed to system(), enabling command injection. An attacker with local access could execute arbitrary commands as root.

Tim Brown Follow

Originally disclosed on Cisco Talos

Medium 5.5 View original

An OS command injection vulnerability exists in the invscout setUID binary functionality of IBM Corporation AIX 7.2. A specially-crafted command line argument can lead to execute privileged operation.

Tim Brown, on Cisco Talos

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 invscout binary concatenates user-supplied input into a command string passed to system() without sanitisation, allowing shell metacharacters to inject commands.

Impact

An attacker with local access could execute arbitrary commands with root privileges, potentially compromising the entire system.

What the attacker needed

Local access to the system; ability to run the invscout binary

The fix

The vulnerability was fixed in the vendor patch release on 2023-04-12.

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.

A setUID program runs with the privileges of its owner (often root), so any flaw in it can let a normal user act as root. Here, a hidden option in the invscout tool takes a file path and builds a shell command without cleaning it, so extra shell commands can be slipped in. This means a local user can run commands as root.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Tim Brown

View all

5 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.