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,

  • 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? – sudhackar Jan 29 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 ? – Raien land Jan 30 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. – multithr3at3d Feb 2 at 0:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.