Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • T ticket
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,809
    • Issues 1,809
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Administrator
  • ticket
  • Issues
  • #281

Closed
Open
Created Mar 03, 2022 by Administrator@rootMaintainer

Cross Site Scripting Attack 941110 from application java_2 to application Unknown Client

Created by: armorcodegithubpreprod[bot]

Cross Site Scripting Attack 941110 from application java_2 to application Unknown Client

Attack Description: XSS Filter - Category 1: Script Tag Vector

Matched Data:




<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Demo SQL injection code</title>
</head>
<body>
<img alt="bank logo" src="banklogo.png" height = 100px width = 250px style="margin-top:55px;margin-left:500px;">
 <!--  <h1><center>Welcome to ACME Bank</center></h1>-->
<BR>
<BR>

<p align= center>
For SQLi attack use admin' OR ' 1 = 1 -- in password field.
</p>
<div>
   <form action = login.jsp method = get align = center>
   	<BR><Label>User Name</Label>&nbsp;<input type = text name = txtusername><BR>
   	<BR><Label>Password</Label>&nbsp;&nbsp;&nbsp;&nbsp;<input type = password name = txtpass><BR>
   	<BR><input type = submit value = submit>
   	
   </form>
</div>
<BR>
<BR>
<BR>
<p align= center>
For XSS attack use mydata"\&gt;&lt;script&gt;alert('XSS');&lt;/script&gt; in search field.
</p>
<div>
   <form action = index.jsp method = get align = center>
   	<BR><Label>Previous Search: </Label>&nbsp; mydata"\><script>alert('XSS');</script><BR>
   	<BR><Label>Search</Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type = search name = search><BR>
   	<BR><input type = submit value = search>
   </form>
</div>
</body>
</html>

Rule Id7bce3bd8-14bb-46ec-b6f4-09f6f6f8eb96

https://preprod.armorcode.ai/#/findings/4429526

Assignee
Assign to
Time tracking