Buffer overflow in the save_into_file function in save.c for Rogue 5.2-2 allows local users to execute arbitrary code with games group privileges by setting a long HOME environment variable and invoking the save game function with a ~ (tilde).
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 |
---|---|
http://www.securityfocus.com/bid/6912 | vdb entry |
http://archives.neohapsis.com/archives/bugtraq/2003-02/0260.html | mailing list exploit |
https://exchange.xforce.ibmcloud.com/vulnerabilities/11382 | vdb entry |