Skip to content
Memory corruption Advisory Advanced CVE-2018-3991

WIBU-SYSTEMS WibuKey network server management WkbProgramLow remote code execution vulnerability

A heap overflow exists in the WkbProgramLow function of WibuKey Network server management due to an integer overflow when calculating buffer size. An attacker can send a malformed TCP packet to trigger the overflow, potentially leading to remote code execution with system privileges.

Marcin 'Icewall' Noga Follow

Originally disclosed on Cisco Talos

Critical 10.0 View original

An exploitable heap overflow vulnerability exists in the WkbProgramLow function of WibuKey Network server management, version 6.40.2402.500.

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

Likely an integer overflow in the size calculation for a heap allocation, leading to a smaller buffer than the amount of data copied into it.

Impact

The heap corruption could be turned into remote code execution, automatically lifting the attacker’s privileges to system level.

What the attacker needed

Network access to port 22347

The fix

The vendor released a patch on 2018-12-19.

How it was found

  1. Connect to the WibuKey Network server management service on TCP port 22347.
  2. Send a crafted TCP packet with a size value that causes an integer overflow during buffer allocation.
  3. The server allocates a small buffer but then copies a large amount of data into it, causing a heap 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.

This report describes a flaw in a licensing server program. When the program receives a specially crafted network message, it miscalculates how much memory to reserve and then copies too much data into that space, overflowing it. This can let an attacker run their own code on the server with high privileges.

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

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.