-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Platform
-
Labels:None
-
Environment:Production
-
Module:BenAdmin - Security
-
Reported by:Support
-
Item State:Production Complete
-
Issue Importance:Must Have
Praetorian initially detected a SQL injection vulnerability after submitting a variety of malicious input
parameters to the GetEmployees endpoint. Praetorian used SQL injection payloads that caused the
application to demonstrate a noticeable difference in response time depending on the results of the
provided SQL query.
Page Name: Search Employee
Information Recovered:
SQL Server version number, Database version, Server name
System should not disclose this information to user.
Field | Original Value | New Value |
---|---|---|
Assignee | Amnesh Goel [ amnesh.goel ] | Vijayendra Shinde [ ID10506 ] |
Status | Open [ 1 ] | In Development [ 10007 ] |
Assignee | Vijayendra Shinde [ ID10506 ] | Prasad Pise [ prasadp ] |
Item State | Parent values: Development(10200)Level 1 values: Ready for Local Testing(10209) | Parent values: Production QA(10203)Level 1 values: Production Deployed(10221) |
Item State | Parent values: Production QA(10203)Level 1 values: Production Deployed(10221) | Parent values: Stage QA(10202)Level 1 values: Stage Deployed(11602) |
Status | In Development [ 10007 ] | Local Testing [ 10200 ] |
Status | Local Testing [ 10200 ] | Stage Testing [ 10201 ] |
Item State | Parent values: Stage QA(10202)Level 1 values: Stage Deployed(11602) | Parent values: Production QA(10203)Level 1 values: Production Deployed(10221) |
Item State | Parent values: Production QA(10203)Level 1 values: Production Deployed(10221) | Parent values: LB QA(10201)Level 1 values: LB Deployed(11600) |
Item State | Parent values: LB QA(10201)Level 1 values: LB Deployed(11600) | Parent values: Production QA(10203)Level 1 values: Production Deployed(10221) |
Status | Stage Testing [ 10201 ] | Production Testing [ 10202 ] |
Resolution | Fixed [ 1 ] | |
Status | Production Testing [ 10202 ] | Production Complete [ 10028 ] |
Status | Production Complete [ 10028 ] | Closed [ 6 ] |
Item State | Parent values: Production QA(10203)Level 1 values: Production Deployed(10221) | Parent values: Production Complete(10222) |
Environment_New | Production [ 18442 ] |
Transition | Time In Source Status | Execution Times |
---|
|
1m 42s | 1 |
|
1h 15m | 1 |
|
8s | 1 |
|
4d 20h 17m | 1 |
|
2d 23h 1m | 1 |
|
2s | 1 |
Issue was caused due to improper casting done for ClassID fields. ClassID fileds are of integer type in database but value stored in string datatype resulted in SQL Injection.
We have converted this in int which will show error when any user explicitly modify request.