CVE-2021-47956: EgavilanMedia PHPCRUD 1.0 SQL Injection via firstname
EgavilanMedia PHPCRUD 1.0 contains an SQL injection vulnerability that allows unauthenticated attackers to manipulate database queries by injecting SQL code through the firstname parameter. Attackers can send POST requests to insert.php with malicious firstname values to extract sensitive database information.
Security readout for executives and security teams
Plain-English summary
EgavilanMedia PHPCRUD 1.0 has a high-severity SQL injection issue. An unauthenticated attacker could abuse a form input to interfere with database queries and potentially extract sensitive database information. The sources do not name an official patch.
Executive priority
Prioritize remediation for any internet-facing deployment because the issue can expose database contents without credentials. If PHPCRUD is only unused sample code, remove or isolate it promptly.
Technical view
The vulnerability is CWE-89 SQL injection in EgavilanMedia PHPCRUD 1.0, affecting the firstname parameter handled by insert.php. CVSS v4.0 is 8.8 with network access, low complexity, no privileges, and no user interaction required.
Likely exposure
Exposure is likely limited to sites running EgavilanMedia PHPCRUD 1.0 or code copied from that project with the vulnerable insert workflow publicly reachable.
Exploitation context
A public ExploitDB reference exists, but the bundle does not show CISA KEV listing or confirmed active exploitation. Treat internet-facing deployments as urgent because exploitation requires no authentication.
Researcher notes
Evidence supports PHPCRUD 1.0, firstname, insert.php, CWE-89, CVSS 8.8, and a public exploit reference. The source bundle does not confirm active exploitation, patch availability, affected later versions, or CPE identifiers.
Mitigation direction
Inventory applications using EgavilanMedia PHPCRUD 1.0 or copied sample code.
Check EgavilanMedia and advisory sources for vendor patch or replacement guidance.
Restrict public access to the affected insert workflow where possible.
If maintaining the code, use parameterized database queries for affected inputs.
Review logs for suspicious unauthenticated insert activity and database errors.
Validation and detection
Confirm whether PHPCRUD 1.0 exists in production, staging, or legacy web roots.
Review insert workflow input handling for unsafe SQL construction around firstname.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-89: Database access and collection lookup
Injection into data stores can inform collection, data access, and exfiltration detection reviews. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.