You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Little bit of a weird one, that I can't quite confirm myself yet, and don't want to give poor information in a remediation suggestion. I have an engagement where ESC1 and ESC4 are reported. ESC4 is self explanatory, due to the ACLs, but the ESC1 doesn't appear to be part of the eligible enrollment groups.
Surprisingly, ESC1 still worked without me making modifications to the certificate via ESC4, but I'm keen to understand where the logic check is in the code. Is it simply that FullControl is akin to allowing enrollment? I note #226 but this seems slightly different, as it wasn't a FP, but isn't listed in enrollment rights.
It looks like the decision to include/not include a user in the Enrollment Rights section is here:
Where one of these then, must be evaluating to true:
if (
EXTENDED_RIGHTS_NAME_MAP["All-Extended-Rights"]
in rights["extended_rights"]
or EXTENDED_RIGHTS_NAME_MAP["Enroll"] in rights["extended_rights"]
or CERTIFICATE_RIGHTS.GENERIC_ALL in rights["rights"]
):
So my guess is that the CERTIFICATE_RIGHTS.GENERIC_ALL in rights["rights"] is true due to:
Hi all,
Little bit of a weird one, that I can't quite confirm myself yet, and don't want to give poor information in a remediation suggestion. I have an engagement where ESC1 and ESC4 are reported. ESC4 is self explanatory, due to the ACLs, but the ESC1 doesn't appear to be part of the eligible enrollment groups.
Surprisingly, ESC1 still worked without me making modifications to the certificate via ESC4, but I'm keen to understand where the logic check is in the code. Is it simply that FullControl is akin to allowing enrollment? I note #226 but this seems slightly different, as it wasn't a FP, but isn't listed in enrollment rights.
It looks like the decision to include/not include a user in the Enrollment Rights section is here:
Certipy/certipy/commands/find.py
Line 1017 in 2780d53
Where one of these then, must be evaluating to true:
So my guess is that the
CERTIFICATE_RIGHTS.GENERIC_ALL in rights["rights"]
is true due to:Which causes the vulnerability to flag (due to FullControl), but no "Authenticated Users" to show in the enroll field.
The text was updated successfully, but these errors were encountered: