Genivia gSOAP WS-Addressing plugin code execution vulnerability redux
A buffer overflow in the WS-Addressing plugin of gSOAP allows remote code execution via a crafted SOAP request. An attacker can send an HTTP request to trigger the vulnerability.
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.
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 soap_decode function due to a signed/unsigned comparison, leading to a buffer overflow when parsing URI parameters.
Impact
A remote, unauthenticated attacker could execute arbitrary code on the target system.
What the attacker needed
Network access to the SOAP service
The fix
The vulnerability should be fixed by correcting the size checks in soap_decode to properly handle signed values and prevent integer 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 is a memory corruption bug in a library that handles web service messages. An attacker can send a specially crafted message that overflows a buffer, potentially allowing them to run their own code on the server.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.