SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security
Downloads:  Download this Test Case #149215

Back to the previous page... Back to the previous page

Test Case IDCandidate149215
Bad / Good / MixedBadBad test case
AuthorNIST, Romain Gaucher, Alexander Hoole, Aurelien Delaitre
Associations
Good pair: 149216  
Replacing: 2198  
Test suite: 100  
Added byCharles Oliveira
LanguageC
Type of test caseSource Code
Input string
Expected Output
Instructionsgcc -Wall -g -O0 -std=gnu99 -o xss_loop-bad xss_loop-bad.c cgic.c
Submission date2015-03-23
DescriptionThis is a CGI program which take some parameters values then print it. It shows Cross-Site Scripting in C within a looping complexity.
File(s)
Flaw

There are no comments
Have any comments on this test case? Please, .

File Contains:
CWE-080: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) on line(s): 37