Open devopsenggineer opened 5 years ago
Project : t
Job : Default
Env : Default
Region : FXLabs/US_WEST_1
Result : fail
Status Code : 400
Headers : {Server=[nginx/1.12.1], Date=[Sat, 23 Feb 2019 11:25:52 GMT], Content-Type=[application/json;charset=ISO-8859-1], Content-Length=[87], Connection=[keep-alive]}
Endpoint : http://52.53.242.1/vault/v2/ss/auth/aws/role?path=1118612623
Request :
{
"auth_type" : "gYN4VKBX",
"role" : "gYN4VKBX",
"bound_ami_id" : "gYN4VKBX",
"bound_account_id" : "gYN4VKBX",
"bound_region" : "gYN4VKBX",
"bound_vpc_id" : "gYN4VKBX",
"bound_subnet_id" : "gYN4VKBX",
"bound_iam_role_arn" : "gYN4VKBX",
"bound_iam_instance_profile_arn" : "gYN4VKBX",
"policies" : "gYN4VKBX"
}
Response :
{
"errors" : [ "Missing request header 'vault-token' for method parameter of type String" ]
}
Logs :
Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [400 == 401 OR 400 == 403] result [Failed]
--- FX Bot ---
Project : t
Job : Default
Env : Default
Category : RBAC
Tags : [OWASP - OTG-IDENT-001 , FX Top 10 - API Vulnerability, Endpoint_Access_Control]
Severity : Major
Region : FXLabs/US_WEST_1
Result : fail
Status Code : 400
Headers : {Server=[nginx/1.12.1], Date=[Sat, 23 Feb 2019 05:33:02 GMT], Content-Type=[application/json;charset=ISO-8859-1], Content-Length=[87], Connection=[keep-alive]}
Endpoint : http://52.53.242.1/vault/v2/ss/auth/aws/role?path=1201898442
Request :
{ "auth_type" : "yt3OhwjX", "role" : "yt3OhwjX", "bound_ami_id" : "yt3OhwjX", "bound_account_id" : "yt3OhwjX", "bound_region" : "yt3OhwjX", "bound_vpc_id" : "yt3OhwjX", "bound_subnet_id" : "yt3OhwjX", "bound_iam_role_arn" : "yt3OhwjX", "bound_iam_instance_profile_arn" : "yt3OhwjX", "policies" : "yt3OhwjX" }
Response :
{ "errors" : [ "Missing request header 'vault-token' for method parameter of type String" ] }
Logs :
2019-02-23 05:33:02 DEBUG [V2SsAuthAwsRolePutRoleAdminDisallowedRbac] : URL [http://52.53.242.1/vault/v2/ss/auth/aws/role?path=1201898442] 2019-02-23 05:33:02 DEBUG [V2SsAuthAwsRolePutRoleAdminDisallowedRbac] : Method [PUT] 2019-02-23 05:33:02 DEBUG [V2SsAuthAwsRolePutRoleAdminDisallowedRbac] : Request [{ "auth_type" : "yt3OhwjX", "role" : "yt3OhwjX", "bound_ami_id" : "yt3OhwjX", "bound_account_id" : "yt3OhwjX", "bound_region" : "yt3OhwjX", "bound_vpc_id" : "yt3OhwjX", "bound_subnet_id" : "yt3OhwjX", "bound_iam_role_arn" : "yt3OhwjX", "bound_iam_instance_profile_arn" : "yt3OhwjX", "policies" : "yt3OhwjX" }] 2019-02-23 05:33:02 DEBUG [V2SsAuthAwsRolePutRoleAdminDisallowedRbac] : Request-Headers [{Content-Type=[application/json], Accept=[application/json]}] 2019-02-23 05:33:02 DEBUG [V2SsAuthAwsRolePutRoleAdminDisallowedRbac] : Response [{ "errors" : [ "Missing request header 'vault-token' for method parameter of type String" ] }] 2019-02-23 05:33:02 DEBUG [V2SsAuthAwsRolePutRoleAdminDisallowedRbac] : Response-Headers [{Server=[nginx/1.12.1], Date=[Sat, 23 Feb 2019 05:33:02 GMT], Content-Type=[application/json;charset=ISO-8859-1], Content-Length=[87], Connection=[keep-alive]}] 2019-02-23 05:33:02 DEBUG [V2SsAuthAwsRolePutRoleAdminDisallowedRbac] : StatusCode [400] 2019-02-23 05:33:02 DEBUG [V2SsAuthAwsRolePutRoleAdminDisallowedRbac] : Time [42] 2019-02-23 05:33:02 DEBUG [V2SsAuthAwsRolePutRoleAdminDisallowedRbac] : Size [87] 2019-02-23 05:33:02 ERROR [V2SsAuthAwsRolePutRoleAdminDisallowedRbac] : Assertion [@StatusCode == 401 OR @StatusCode == 403] resolved-to [400 == 401 OR 400 == 403] result [Failed]
--- FX Bot ---