Skip to content
Path traversal Advisory Advanced CVE-2021-29212

Hewlett Packard Enterprise iLO Amplifier Pack backup Directory Traversal Remote Code Execution Vulnerability

The backup endpoint of HPE iLO Amplifier Pack failed to validate a user-supplied path before using it in file operations, allowing a directory traversal. An unauthenticated remote attacker could exploit this to execute arbitrary code as root.

Erik de Jong Follow

Originally disclosed on Zero Day Initiative

Critical 9.8 View original

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hewlett Packard Enterprise iLO Amplifier Pack. Authentication is not required to exploit this vulnerability.

Erik de Jong, 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 backup endpoint passed a user-supplied path into file operations without validating or restricting it, enabling directory traversal.

Impact

An unauthenticated remote attacker could execute arbitrary code on the affected installation in the context of root.

What the attacker needed

Network access to the backup endpoint; no authentication needed

The fix

HPE issued an update to correct the vulnerability, so it should be fixed by applying the vendor patch.

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.

This software has a feature that handles backup files. It took a file path supplied by the user and used it without checking it was safe, so someone could point it at files outside the intended folder. Because the software runs with high privileges, an attacker who is not logged in could run their own commands on the server.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by Erik de Jong

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.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.