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

sqlite susceptible to trojan data #5702

Closed
directionless opened this issue Aug 14, 2019 · 1 comment
Closed

sqlite susceptible to trojan data #5702

directionless opened this issue Aug 14, 2019 · 1 comment
Labels
libraries For things referring to osquery third party libraries prodsec

Comments

@directionless
Copy link
Member

sqlite is in the news with a vulnerability. An attacker can craft a malicious sqlite DB, which can cause unexpected behavior. https://research.checkpoint.com/select-code_execution-from-using-sqlite/

Several places in osquery read sqlite data.

Does this give a user a route to privilege escalation? It's not yet clear what mitigations we can do.

@directionless directionless added libraries For things referring to osquery third party libraries prodsec labels Aug 14, 2019
@theopolis
Copy link
Member

The mitigations would be to remove the build-time options here: https://github.com/osquery/third-party-sqlite/blob/2ca13814d05e8408b445b1938aaf6c675e5a510f/CMakeLists.txt#L21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libraries For things referring to osquery third party libraries prodsec
Projects
None yet
Development

No branches or pull requests

2 participants