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

CX Header_Injection @ index.php [master] #94

Open
cxronen opened this issue Jun 30, 2021 · 0 comments
Open

CX Header_Injection @ index.php [master] #94

cxronen opened this issue Jun 30, 2021 · 0 comments

Comments

@cxronen
Copy link
Owner

cxronen commented Jun 30, 2021

Header_Injection issue exists @ index.php in branch master

Method <?php at line 8 of index.php receives a user input from the _GET element. This element’s value then copied into the request header without being properly sanitized or validated in <?php at line 11 of index.php. If a 3rd party can influence this value it may enable an HTTP Header Injection attack.

Severity: Medium

CWE:113

Checkmarx

Training
Recommended Fix

Lines: 8


Code (Line #8):

		$op = isset($_GET["op"])?"?op=".$_GET["op"]:"";

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