intesar / NB-Sales

0 stars 0 forks source link

Incremental_Ids on POST:/api/v1/users/personal-sign-up #1603

Open intesar opened 3 years ago

intesar commented 3 years ago

Title: Incremental_Ids Vulnerability on POST:/api/v1/users/personal-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/personal-sign-up Environment: Master Playbook: ApiV1UsersPersonalSignUpPostIncrementalIds Researcher: [apisec Bot] QUICK TIPS Suggestion: Effort Estimate: Wire Logs: 09:57:44 [D] [AVUPSUPIIds] : URL [http://95.217.118.53:8080/api/v1/users/personal-sign-up] 09:57:44 [D] [AVUPSUPIIds] : Method [POST] 09:57:44 [D] [AVUPSUPIIds] : Auth [Default] 09:57:44 [D] [AVUPSUPIIds] : Request [{ "accountNonExpired" : false, "accountNonLocked" : false, "company" : "Jacobs-Jacobs", "createdBy" : "", "createdDate" : "", "credentialsNonExpired" : false, "email" : "elva.von@gmail.com", "enabled" : false, "id" : "", "inactive" : false, "jobTitle" : "Marketing Administrator", "location" : "5rEM7KhE", "modifiedBy" : "", "modifiedDate" : "", "name" : "5rEM7KhE", "password" : "ImDtqEYYVNE)", "privileges" : [ "5rEM7KhE" ], "username" : "destiny.ritchie", "version" : "" }] 09:57:44 [D] [AVUPSUPIIds] : Request-Headers [{Accept=[application/json], Content-Type=[application/json], Authorization=[**********]}] 09:57:44 [D] [AVUPSUPIIds] : Response [{ "requestId" : "None", "requestTime" : "2020-09-18T21:57:44.725+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "Org name [Treutel-Treutel] exists." } ], "data" : false, "totalPages" : 0, "totalElements" : 0 }] 09:57:44 [D] [AVUPSUPIIds] : 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=MDk2ZDVlMjctNGEyMi00NjFhLTg3NzQtZmMxYzg4MGYyMTY2; 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] [AVUPSUPIIds] : StatusCode [200] 09:57:44 [D] [AVUPSUPIIds] : Time [316] 09:57:44 [D] [AVUPSUPIIds] : Size [209] 09:57:44 [I] [AVUPSUPIIds] : Assertion [@StatusCode == 200] resolved-to [200 == 200] result [Passed] 09:57:44 [E] [AVUPSUPIIds] : 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/8a8084b3749c35170174a33926f504cb/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/ApiV1UsersPersonalSignUpPostIncrementalIds Coverage: https://cloud.fxlabs.io/#/app/projects/8a8081766fc3e2a1016fc421d6e55a13/configuration Code Sample: https://cloud.fxlabs.io/#/app/projects/8a8081766fc3e2a1016fc421d6e55a13/recommendations/8a8084b3749c35170174a33926f504cb/codesamples PS: Please contact support@apisec.ai for apisec access and login issues. --- apisec Bot ---