Skip to content
Memory corruption Advisory Advanced CVE-2020-13576

Genivia gSOAP WS-Addressing plugin code execution vulnerability

A buffer overflow in the WS-Addressing plugin of gSOAP 2.8.107 occurs when parsing a URI with a username and password, due to an incorrect length calculation. An attacker can send a crafted SOAP request to cause memory corruption and potentially achieve remote code execution.

A member Follow

Originally disclosed on Cisco Talos

Critical 9.8 View original

A code execution vulnerability exists in the WS-Addressing plugin functionality of Genivia gSOAP 2.8.107. A specially crafted SOAP request can lead to remote code execution.

a member, 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 code assumes the ':' separator comes before the '@' separator, so when the order is reversed, the calculated length becomes negative and wraps to a huge value, causing a buffer overflow in soap_decode.

Impact

An attacker could send a crafted SOAP request to cause memory corruption and potentially achieve remote code execution.

What the attacker needed

Send a crafted SOAP request

The fix

The vendor released a patch on 2020-11-20.

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 memory corruption bug in a library that handles web service messages. When the library tries to read a web address that contains a username and password, it miscalculates how much space is needed and writes too much data, which can crash the program or let an 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 A member

View all

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