Safeguard
Vulnerability Analysis•

CVE-2024-6453: Medium SQL Injection in Farm Management System

CVE-2024-6453 is a SQL injection in quarantine.php of itsourcecode Farm Management System 1.0 (CVSS 6.3). No patch is listed, so isolate or fix the code.

Safeguard Security Team
3 min read

CVE-2024-6453 is a medium severity (CVSS 6.3) SQL injection in itsourcecode Farm Management System 1.0. The quarantine page passes several request fields into a database query. No patch is listed, so rewrite the query or take the app off any network you do not control.

What's affected

The record names Farm Management System 1.0 from itsourcecode. The file is /quarantine.php, called with an id, and the arguments called out are pigno, breed and reason. The record includes a note that the original submission mentioned only pigno, and that the other parameters were added later. So a fix that patches one field is not enough.

The weakness is CWE-89. The vector is CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L. VulDB tracks the issue as VDB-270241. A public exploit is reported in the record, and the KEV flag is false.

The record points to a GitHub issue as the original write-up. I could not load it, so there is no vendor advisory or patched release to cite.

How to check if you're exposed

  1. Look for the application on your servers:
find /var/www -name "quarantine.php"
  1. Open the file and check each of the three named fields. Any that are joined into the SQL string are vulnerable.
  2. Check access logs for requests to quarantine.php from unfamiliar addresses and for fields that contain quotes or SQL keywords.
  3. Check whether the page can be reached without logging in.

What to do now

  1. If this is a coursework or demo install, shut it down.
  2. For a live farm record system, put it behind a VPN or an IP allow list straight away.
  3. Rewrite the query using prepared statements with bound parameters for all of pigno, breed, reason and id.
  4. Search the rest of the project for the same pattern. Projects of this kind tend to repeat a coding style across pages.
  5. Back up the database and check the records for tampering, in particular animal and quarantine entries.
  6. Restrict the database account to the tables the app needs.

Why it matters

Small management systems hold records that people rely on, in this case animal health and quarantine status. Altered records can cause real work and cost even when no data is stolen.

The wider lesson sits in the record's note: the first report named one parameter and others were affected too. When you fix an injection bug, fix the query pattern and not the single field in the report.

Quick check

Which parameters are affected?

The record names pigno, breed and reason, and notes that the first report mentioned only pigno. Treat all three as unsafe.

Should I wait for a vendor patch?

The record lists none. Restrict access now and fix the queries yourself if you must keep running it.

Sources

Last reviewed: 19 October 2026.

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.