#VU83024 Off-by-one in memcached


Published: 2023-11-13

Vulnerability identifier: #VU83024

Vulnerability risk: High

CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-46853

CWE-ID: CWE-193

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
memcached
Server applications / Web servers

Vendor: Memcached

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to an off-by-one error in proxy_request.c. A remote attacker can send a specially crafted HTTP request to the proxy server, trigger an off-by-one error and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

memcached: 1.0.0 - 1.6.21


External links
http://github.com/memcached/memcached/compare/1.6.21...1.6.22
http://github.com/memcached/memcached/commit/6987918e9a3094ec4fc8976f01f769f624d790fa


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability