Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote Buffer Overflow problem #4

Open
another1024 opened this issue Aug 10, 2018 · 0 comments
Open

Remote Buffer Overflow problem #4

another1024 opened this issue Aug 10, 2018 · 0 comments

Comments

@another1024
Copy link

Hey, sir.
Buffer overflow exists in the text variable of the do_mkd function in the ftpproto.c file.Overwrite ebp when new folder and absolute path name length exceeds 412.
char text[200] = {0}; //it just 200 byte
char dir[200] = {0};
getcwd(dir, sizeof(dir));
sprintf(text, ""%s%s" created", dir, sess->arg);//it more then 200

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant