OpenFeign QueryDSL 마이그레이션 총정리
The QueryDSL library's orderBy method did not properly validate user input, allowing an attacker to inject SQL/HQL code. This could lead to SQL injection or denial of service, such as delaying database queries.
medium.com
Published on medium.com
2024� �에 보고된 CVE-2024–49203 취약점은 Java 기반의 Querydsl 라이브러리에서 발견된 HQL(또는 SQL) 인젝� � 취약점� 니다. 이 취약점은 JPAQuery의 orderBy 메서드에서 사용자 � 력을 적절히 검증하지 않았기 때문에 발생합니다.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
What the attacker needed
Application uses QueryDSL 5.x or earlier; user input reaches orderBy without validation
The fix
The vulnerability was fixed in OpenFeign QueryDSL version 6.10.1.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
QueryDSL is a tool that helps build database queries in Java. It failed to check what users typed into a sorting option, so an attacker could sneak in extra database commands. That could let them read private data or slow the whole service down.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.