0

I have buffer overflow in a program i check(it is an array of pointers, and i can overflow the data in the first pointer), but the data i can write is not on the stack, it is on a space the system allocated(it does not have name in /proc{id}/maps). and it is not the heap. Is there any option to perform code execution via this scenario ? As well as, is there option to overflow different segments ?

Thanks,

3
  • 1
    Please use gdb and see which region it is located on? Is the address fixed every time? Is it next to the binary or any shared object every time? Commented Jan 29, 2020 at 7:12
  • Hi, Sorry for the delay. if i look int the /proc/{id}/maps , the first two raw is the binary and after that the above mentioned region. The binary is always in the same address, but the other regions are not. The binary start with 004 and the mentioned location start with 777. Do you have any ideas ? Commented Jan 30, 2020 at 20:51
  • 1
    Can you add more info to the question? E.g. debugger output explaining the scenario. I don't understand where you are able to write. Commented Feb 2, 2020 at 0:10

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.