intesar / NB-Sales

0 stars 0 forks source link

Incremental_Ids on POST:/api/v1/users/enterprise-sign-up #1605

Open intesar opened 3 years ago

intesar commented 3 years ago

Title: Incremental_Ids Vulnerability on POST:/api/v1/users/enterprise-sign-up Project: NetBanking API Description:

Assertion Incremental Ids scanning checks if the Auto generated IDs associated with the resources in sequential. Resources with Sequential IDs are vulnerable since they are easy to guess.Risk: Incremental_Ids Severity: Medium API Endpoint: http://95.217.118.53:8080/api/v1/users/enterprise-sign-up Environment: Master Playbook: ApiV1UsersEnterpriseSignUpPostIncrementalIds Researcher: [apisec Bot] QUICK TIPS Suggestion: Effort Estimate: Wire Logs: 09:57:44 [D] [AVUESUPIIds] : URL [http://95.217.118.53:8080/api/v1/users/enterprise-sign-up] 09:57:44 [D] [AVUESUPIIds] : Method [POST] 09:57:44 [D] [AVUESUPIIds] : Auth [Default] 09:57:44 [D] [AVUESUPIIds] : Request [{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Stanton, Stanton and Stanton", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "santiago.corwin@yahoo.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "Internal Legal Supervisor", "location" : "SEsLQUmH", "modifiedBy" : "", "modifiedDate" : "", "name" : "SEsLQUmH", "password" : "mDYlHbCTMWU%", "privileges" : [ "SEsLQUmH" ], "username" : "adrien.quigley", "version" : "" }] 09:57:44 [D] [AVUESUPIIds] : Request-Headers [{Accept=[application/json], Content-Type=[application/json], Authorization=[**********]}] 09:57:44 [D] [AVUESUPIIds] : Response [{ "requestId" : "None", "requestTime" : "2020-09-18T21:57:44.739+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Org name [Rau Group] exists." } ], "data" : false, "totalPages" : 0, "totalElements" : 0 }] 09:57:44 [D] [AVUESUPIIds] : Response-Headers [{X-Content-Type-Options=[nosniff], X-XSS-Protection=[1; mode=block], Cache-Control=[no-cache, no-store, max-age=0, must-revalidate], Pragma=[no-cache], Expires=[0], X-Frame-Options=[DENY], Set-Cookie=[SESSION=Y2NlM2YzOTQtZDlkYi00MGEzLTg4NjktZmU5MWI1MTliMThk; Path=/; HttpOnly], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Fri, 18 Sep 2020 21:57:44 GMT]}] 09:57:44 [D] [AVUESUPIIds] : StatusCode [200] 09:57:44 [D] [AVUESUPIIds] : Time [328] 09:57:44 [D] [AVUESUPIIds] : Size [203] 09:57:44 [I] [AVUESUPIIds] : Assertion [@StatusCode == 200] resolved-to [200 == 200] result [Passed] 09:57:44 [E] [AVUESUPIIds] : Assertion [@Response.data.id != @NULL AND @Response.data.id !=~ [0-9]+] resolved-to [ != AND !=~ [0-9]+] result [Failed] IMPORTANT LINKS Vulnerability Details: https://cloud.fxlabs.io/#/app/projects/8a8081766fc3e2a1016fc421d6e55a13/recommendations/8a8084b3749c35170174a339284e04cf/details Project: https://cloud.fxlabs.io/#/app/projects/8a8081766fc3e2a1016fc421d6e55a13/jobs Environment: https://cloud.fxlabs.io/#/app/projects/8a8081766fc3e2a1016fc421d6e55a13/environments/8a8081766fc3e2a1016fc421d7155a15/edit Scan Dashboard: https://cloud.fxlabs.io/#/app/projects/8a8081766fc3e2a1016fc421d6e55a13/jobs/8a8081766fc3e2a1016fc4230f426628/runs/8a8084b3749c35170174a339191d04b2 Playbook: https://cloud.fxlabs.io/#/app/projects/8a8081766fc3e2a1016fc421d6e55a13/template/ApiV1UsersEnterpriseSignUpPostIncrementalIds Coverage: https://cloud.fxlabs.io/#/app/projects/8a8081766fc3e2a1016fc421d6e55a13/configuration Code Sample: https://cloud.fxlabs.io/#/app/projects/8a8081766fc3e2a1016fc421d6e55a13/recommendations/8a8084b3749c35170174a339284e04cf/codesamples PS: Please contact support@apisec.ai for apisec access and login issues. --- apisec Bot ---