Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DS01: Weak credential storage - condition too broad #27

Open
colesmj opened this issue Oct 21, 2018 · 1 comment
Open

DS01: Weak credential storage - condition too broad #27

colesmj opened this issue Oct 21, 2018 · 1 comment
Labels

Comments

@colesmj
Copy link
Collaborator

colesmj commented Oct 21, 2018

"DS01": { "description": "Weak Credential Storage", "source": (Process, Element), "target": Datastore, "condition": "(target.storesPII is True or target.storesSensitiveData is True) and (target.isEncrypted is False or target.providesConfidentiality is False or target.providesIntegrity is False)", },

Condition includes storesPII, which would not include credentials (at least not for the target or source); it also includes storesSensitiveData (same comment applies). A better test would be source.hasAccessControl or source.authenticatedWith - these conditions suggest the datastore holds credentials, and the target checks then make sense.

@colesmj colesmj added bug Something isn't working and removed bug Something isn't working labels Oct 21, 2018
@izar izar added good first issue Good for newcomers Hacktoberfest labels Aug 19, 2020
@nineinchnick
Copy link
Collaborator

Looks like this issue is not valid anymore. DS01 probably has been repurposed into a different threat (we should not be doing this). Also #127 would solve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants