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

Added Passwordless Account check (#84) #86

Merged
merged 4 commits into from
Jan 3, 2023
Merged

Conversation

xsist10
Copy link
Owner

@xsist10 xsist10 commented Jan 1, 2023

Accounts without passwords should be flagged to avoid unintended exposure. This goes doubly for accounts that are accessible outside of localhost.

We don't currently case too much about what they have access to. We could examine if they only have read access (and whether it's limited to "monitoring" schemas like mysql or performance_schema) but that's a future refinement once we see what hits we get.

Also required some refactoring of various bits of code and some hint at the newer structure for data objects (heading towards using readonly classes, using proper enums and named parameters which means this also bumps our requirements up to PHP 8.* as well).

Ideally I want to be able to support multiple data sources (database, SQL definition files, etc) without massive refactoring.

Accounts without passwords should be flagged to avoid unintended
exposure. This goes doubly for accounts that are accessible outside
of localhost.

We don't currently case too much about what they have access to.
We could examine if they only have read access (and whether it's
limited to "monitoring" schemas like mysql or performance_schema)
but that's a future refinement once we see what hits we get.

Also required some refactoring of various bits of code and some
hint at the newer structure for data objects (heading towards
using readonly classes, using proper enums and named parameters
which means this also bumps our requirements up to PHP 8.* as well).

Ideally I want to be able to support multiple data sources (database,
SQL definition files, etc) without massive refactoring.
@xsist10 xsist10 merged commit 29a41f8 into master Jan 3, 2023
@xsist10 xsist10 deleted the passwordless_accounts branch January 3, 2023 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant