Skip to content

Comments

Fix remote code execution #1#5

Open
0x27 wants to merge 1 commit intorecantha:masterfrom
0x27:patch-1
Open

Fix remote code execution #1#5
0x27 wants to merge 1 commit intorecantha:masterfrom
0x27:patch-1

Conversation

@0x27
Copy link

@0x27 0x27 commented Oct 8, 2015

Passing unsanitized user input into the shell_exec function leads to remote code execution.

In this instance, to execute the id command, one would send a request such as the following:

GET /tilt.php?position=;id

Checking history, a similar issue was previously reported

A similar issue also exists in this file, however I am leaving fixing that as a learning exercise for you.

Passing unsanitized user input into the shell_exec function leads to remote code execution.

In this instance, to execute the `id` command, one would send a request such as the following:
```
GET /tilt.php?position=;id
```
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

Successfully merging this pull request may close these issues.

1 participant