Description
B3log Solo through 4.4.0 contains an SQL injection vulnerability in the console article update API that allows authenticated authors to inject SQL through unvalidated JSON property names. Attackers can send a PUT request to /console/article/ with crafted property names used as UPDATE column names, then read query results back through the updated article.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
b3log Solo
Default version status: unaffected
0 to ≤ 4.4.0affected
pkg:github/88250/soloReferences
- https://github.com/88250/solo/commit/46308431d479b61d4ac5cc768474efa140c23cc8 ↗
- https://github.com/88250/solo/blob/v4.4.0/src/main/java/org/b3log/solo/processor/console/ArticleConsole.java#L472-L479 ↗
- https://github.com/88250/solo/blob/v4.4.0/src/main/java/org/b3log/solo/repository/ArticleRepository.java#L80-L86 ↗
- https://www.vulncheck.com/advisories/b3log-solo-through-4.4.0-sql-injection-via-article-json-property-names ↗