(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.
Originally disclosed on Zero Day Initiative
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.
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.