Buffer overflow in the snmpget function in the snmp extension in PHP 5.2.3 and earlier, including PHP 4.4.6 and probably other PHP 4 versions, allows context-dependent attackers to execute arbitrary code via a long value in the third argument (object id).
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
https://exchange.xforce.ibmcloud.com/vulnerabilities/35517 | vdb entry |
https://www.exploit-db.com/exploits/4204 | exploit |
https://www.exploit-db.com/exploits/3439 | exploit |
http://retrogod.altervista.org/php_446_snmpget_local_bof.html | |
http://secunia.com/advisories/24440 | third party advisory |
http://www.securityfocus.com/bid/22893 | vdb entry exploit |