Re:Remote code execution vulnerability in SQLite
by yzmtf2008 on Friday December 14, 2018 @07:12PM
(#18686081)
It's no more "by principle" secure than any other SQL server bind to localhost only, so I'm not sure what you meant by it does not suffer from a RCE.
[ Parent
| on HN ]
Re:Remote code execution vulnerability in SQLite
by int_19h on Friday December 14, 2018 @07:24PM
(#18686153)
It is, actually. When something binds to localhost, there's still potential for privilege escalation vulnerability, since any process can connect to the port - so if there's an exploit, a low-privileged process could hijack a higher-privileged one. Localhost sockets are still a security boundary.
Since SQLite in and of itself is just a library, it doesn't have that problem. You have to expose it to untrusted inputs manually somehow (e.g. by setting up a socket).