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

Arista NG Firewall ReportEntry SQL Injection Remote Code Execution Vulnerability

The ReportEntry class fails to validate user-supplied input before using it in SQL queries, allowing an authenticated attacker to inject SQL and execute code as the postgres user. The vendor has released an update to fix the flaw.

Gereon Huppertz Follow

Originally disclosed on Zero Day Initiative

High 8.8 View original

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Arista NG Firewall. Authentication is required to exploit this vulnerability.

Gereon Huppertz, 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 execute arbitrary code with the privileges of the postgres user on the affected appliance.

What the attacker needed

Authentication required

The fix

The vulnerability was fixed by an update from Arista.

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: a program builds a database command using text typed in by a user without checking it first. An attacker who can log in can sneak extra database instructions into that text, and because the database runs with high privileges, they can run their own code on the server. The fix is to validate input and use safe query methods.

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 Gereon Huppertz

View all

4 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.