Skip to content
Memory corruption Advisory Advanced CVE-2017-2817

PowerIso Parsing Code Execution Vulnerability

A stack buffer overflow exists in PowerISO's ISO parsing when handling a malformed NM entry. An attacker could craft an ISO file that triggers the overflow, potentially leading to code execution.

Piotr Bania Follow

Originally disclosed on Cisco Talos

High 8.8 View original

An stack buffer overflow vulnerability exists in the ISO parsing functionality of Power Software Ltd PowerISO. A specially crafted ISO file can cause a vulnerability resulting in potential code execution.

Piotr Bania, 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 program uses a length byte from the file to calculate a copy size without checking for underflow, so a value less than 5 becomes a huge unsigned count passed to strncpy.

Impact

An attacker could potentially execute code by convincing a victim to open a malicious ISO file.

What the attacker needed

Victim opens a malicious ISO file

How it was found

  1. Create a malformed ISO file with an NM entry whose length byte is less than 5.
  2. Open the malformed ISO file with PowerISO.
  3. The program copies data with a huge count into a stack buffer, causing an overflow.

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.

PowerISO is a program that opens ISO disc image files. A bug in how it reads a certain part of the file lets an attacker write too much data into a small memory area, which can crash the program or let the attacker run their own code.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Piotr Bania

View all

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

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.