Code Monkey home page Code Monkey logo

roblox-teleportservice-buffer-overflow's Introduction

Roblox-TeleportService-Buffer-Overflow

Teleporting to a non-existent country to cause a ROBLOX Buffer overflow

Just to clarify, this repo was a joke and doesn't actually work, some people actually thought this was real (LOL!)

I've found that if you try to teleport to a non-existent country, you can cause a buffer overflow. To reproduce:

  1. Join a game on ROBLOX
  2. In your exploit, type: game:GetService'TeleportService':Teleport'Israel' You should get an error that says Could not teleport to Israel. But, if you examine the error, you'll notice that it's much longer than it should be.

You can write shellcode using the 2nd argument of Teleport when teleporting to Israel:

Shellcode:
local shellcode = '\x48\x31\xd2\x48\xbb\xff\x2f\x62\x69\x6e\x2f\x73\x68\x48\xc1\xeb\x08\x53\x48\x89\xe7\x48\x31\xc0\x50\x57\x48\x89\xe6\xb0\x3b\x0f\x05'

game:GetService'TeleportService':Teleport('Israel', setmetatable({}, {__gc = function() 
	local ffi = require'ffi'
	ffi.C.memcpy(nil, shellcode, #shellcode)
end}))
Output:
$ ls -l
total 40
-rw-rw-r-- 1 luis luis  6228 Oct 25 22:10 lib
-rw-rw-r-- 1 luis luis  4567 Oct 25 20:58 lib.lua
-rw-rw-r-- 1 luis luis   255 Oct 25 22:19 shellcode.lua

$ ./shellcode.lua
$
i_kno_im_obuta_blow_ow_ow.mp4
As you can see, it executed the ls command. You can use this to do anything!

Found by Deniied0, Jollycistaken, Mr Freeman#5361, Zer0-AI

roblox-teleportservice-buffer-overflow's People

Contributors

liverfail avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.