Skip to content
DoS Advisory Intermediate CVE-2022-21147

ESTsoft Alyac PE section headers out of bounds read

Alyac's PE scanner reads section headers without checking the file size, so a crafted PE file with many section headers and no .text section causes an out-of-bounds read and crashes the scan process. An attacker can provide such a file to cause denial of service and terminate the malware scan.

Jaewon Min Follow

Originally disclosed on Cisco Talos

Medium 5.0 View original

An out of bounds read vulnerability exists in the malware scan functionality of ESTsoft Alyac 2.5.7.7. A specially-crafted PE file can trigger this vulnerability to cause denial of service and termination of malware scan.

Jaewon Min, 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 scanner trusts the number of sections declared in the PE header and iterates over section headers without verifying that the file is large enough to contain them.

Impact

The crash terminates the Alyac scanning process, effectively neutralizing the antivirus scan and causing denial of service.

What the attacker needed

Ability to provide a crafted PE file to Alyac

The fix

The product was updated to version 2.5.7.7, which presumably adds a check that the file is large enough for the declared number of section headers.

How it was found

  1. Create a PE executable file with a large number of section headers and no .text section.
  2. Provide the file to Alyac for scanning.
  3. The scanner loops through section headers and reads beyond the file's bounds, causing an access violation and crash.

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.

Antivirus software scans files to look for malware. When it scans a Windows program file, it reads a list of sections stored in the file. This report shows that the scanner did not check whether the file actually contained enough data for all the sections it claimed to have, so it read past the end of the file and crashed. That crash stops the antivirus scan, which an attacker could use to prevent detection.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by Jaewon Min

View all

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

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.