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

Security fixes #11

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Security fixes #11

wants to merge 8 commits into from

Conversation

csware
Copy link

@csware csware commented Aug 7, 2014

This PR fixes a lot of XSS issues and also a directory traversal issue (reported here: #8)

@brockhaus This might also be interesting for you

As explicitely recommended on http://php.net/manual/de/function.addslashes.php.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
This also fixes a directory traverval issue reported on http://www.securityfocus.com/archive/1/526958/30/0/threaded.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Signed-off-by: Sven Strickroth <email@cs-ware.de>
Otherwise directory traversals might be possible.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Do not pass user-entered data directly into HTML

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Use PATH_INFO instead.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Signed-off-by: Sven Strickroth <email@cs-ware.de>
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