Skip to content
Path traversal Advisory Intermediate CVE-2023-47211

ManageEngine OpManager uploadMib directory traversal vulnerability

A directory traversal vulnerability in the uploadMib function of ManageEngine OpManager 12.7.258 allows an attacker to create arbitrary files outside the intended directory by manipulating the filename in a multipart upload. The attacker can send a malicious MiB file with a crafted name to write files to any location, subject to extension restrictions.

Marcin 'Icewall' Noga Follow

Originally disclosed on Cisco Talos

Critical 9.1 View original

A directory traversal vulnerability exists in the uploadMib functionality of ManageEngine OpManager 12.7.258. A specially crafted HTTP request can lead to arbitrary file creation.

Marcin 'Icewall' Noga, 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

The application uses a user-controlled portion of the uploaded file's content (the MIB name) to construct a destination file path without sanitising directory traversal sequences.

Impact

An attacker could create arbitrary files on the server, potentially leading to further compromise, though the file extension must be one of .txt, .mib, .my, .mi2, or none.

What the attacker needed

Authenticated user with access to MiB upload

The fix

The vulnerability was fixed by the vendor in a patch release.

How it was found

  1. Navigate to Settings -> Tools -> MiB Browser and select Upload MiB.
  2. Send a POST request to /client/api/json/mibbrowser/uploadMib with a multipart form containing a file.
  3. Include a MIB file whose content contains a line with 'DEFINITIONS ::= BEGIN' preceded by a path traversal sequence.
  4. The server uses the extracted name to write the file outside the intended directory.

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 report describes a flaw in a network management tool that lets someone upload a file. The tool fails to check the file name properly, so an attacker can use special characters like '../' to save the file in a folder outside the intended one. This could let them place harmful files 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 Marcin 'Icewall' Noga

View all

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

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.