ScoutSuite icon indicating copy to clipboard operation
ScoutSuite copied to clipboard

error while scanning cloudfront

Open amitvocate opened this issue 2 years ago • 6 comments

while running the scan, i get the following error:

2022-03-21 12:43:18 ip-172-16-1-105.ec2.internal scout[22483] ERROR browser.py L107: Unable to get "view_certificate" from target object {...}

i can also see that in the target object there is a parameter called viewer_certificate and not view_certificate, so i think this is the issue here.

  • The exact CLI parameters used to run Scout Suite: python scout.py aws -r us-east-1
  • Any specific configuration within the cloud account which might have lead to the issue: We have cloudfront with certificate.

amitvocate avatar Mar 21 '22 12:03 amitvocate

Fixed by https://github.com/nccgroup/ScoutSuite/pull/1383

x4v13r64 avatar Mar 21 '22 13:03 x4v13r64

is it fixed? Still showing error to me

ghost avatar May 27 '22 11:05 ghost

same here

lapolis avatar May 30 '22 08:05 lapolis

same here

georgimorozov avatar Jun 01 '22 14:06 georgimorozov

It looks like a typo for me.

"view_certificate" instead of "viewer_certificate",

I also stumbled upon this issue.

gnanakeethan avatar Jun 02 '22 11:06 gnanakeethan

Confirm I'm still seeing this with 5.11.0. A quick local hotfix to check for this condition added @ https://github.com/nccgroup/ScoutSuite/blob/master/ScoutSuite/providers/base/configs/browser.py#L106

 elif p == 'view_certificate':
                    target_obj = target_obj['viewer_certificate']

DasMeDevon avatar Jul 05 '22 17:07 DasMeDevon

Solved in version 5.12.0

fernando-gallego avatar Sep 12 '22 11:09 fernando-gallego