Skip to content
SQL injection Advisory Intermediate CVE-2024-12832

(0Day) Arista NG Firewall ReportEntry SQL Injection Arbitrary File Read and Write Vulnerability

The ReportEntry class in Arista NG Firewall fails to validate user-supplied strings before using them in SQL queries, allowing an authenticated attacker to read and write arbitrary files. This could lead to sensitive information disclosure and, when combined with other vulnerabilities, arbitrary code execution as the www-data user.

Mehmet INCE Follow

Originally disclosed on Zero Day Initiative

High 8.3 View original

This vulnerability allows remote attackers to create arbitrary files and disclose sensitive information on affected installations of Arista NG Firewall. Authentication is required to exploit this vulnerability.

Mehmet INCE (@mdisec) from PRODAFT.com, on the Zero Day Initiative

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 report has not been written yet. The Original tab links to the source.

How it worked

Impact

An authenticated attacker could read and write arbitrary files, potentially leading to code execution as the www-data user when chained with other vulnerabilities.

What the attacker needed

Authentication required

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 report has not been written yet. The Original tab links to the source.

This is a SQL injection bug in a firewall management tool. An attacker who can log in can trick the system into running their own database commands, which lets them read or write files on the server. That could expose secrets or, with other bugs, let them run code.

What is SQL injection?

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.

More by Mehmet INCE

View all

18 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

SQL injection

The lesson behind this report.

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.