#VU70528 Security features bypass in SQLite


Published: 2022-12-28 | Updated: 2023-06-29

Vulnerability identifier: #VU70528

Vulnerability risk: Low

CVSSv3.1: 6.2 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-46908

CWE-ID: CWE-254

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
SQLite
Server applications / Database software

Vendor: SQLite

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to improper implementation of the azProhibitedFunctions protection mechanism, which allows UDF functions such as WRITEFILE when relying on --safe for execution of an untrusted CLI script. A local user can escalate privileges on the system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

SQLite: 3.0.0 - 3.40.0


External links
http://sqlite.org/src/info/cefc032473ac5ad2
http://sqlite.org/forum/forumpost/07beac8056151b2f
http://news.ycombinator.com/item?id=33948588


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability