LiveActive security incident?Get immediate response
CVE Record

CVE-2018-25057: simple_php_link_shortener index.php sql injection

A vulnerability was found in simple_php_link_shortener. It has been classified as critical. Affected is an unknown function of the file index.php. The manipulation of the argument $link["id"] leads to sql injection. The name of the patch is b26ac6480761635ed94ccb0222ba6b732de6e53f. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-216996.

MediumCVSS 5.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This flaw affects simple_php_link_shortener and allows SQL injection through a link identifier handled by index.php. A successful attack could expose, alter, or disrupt limited database data. Public sources name a patch commit, but do not identify exact affected versions. There is no KEV listing or cited evidence of active exploitation.

Executive priority

Prioritize remediation if this application is deployed on shared, internal, or customer-accessible networks. Business urgency is moderate because SQL injection can affect data integrity and availability, but current sources show adjacent-network and low-privilege requirements with no confirmed active exploitation.

Technical view

CVE-2018-25057 is CWE-89 SQL injection involving manipulation of $link["id"] in index.php. CVSS 3.1 is 5.5 with adjacent-network attack vector, low complexity, low privileges, no user interaction, unchanged scope, and low confidentiality, integrity, and availability impact.

Likely exposure

Exposure appears limited to deployments of simple_php_link_shortener that include the vulnerable index.php behavior and are reachable by an adjacent-network, low-privileged actor. The source bundle does not provide affected version ranges, package identifiers, or deployment prevalence.

Exploitation context

VulDB classifies the issue as critical, while the supplied CVSS score is medium. The bundle does not include exploit code, real-world exploitation evidence, or a CISA KEV listing. Treat exploitability as plausible but not confirmed in the wild.

Researcher notes

Key evidence is sparse: the vulnerable function is unnamed, affected versions are not listed, and the patch is identified only by commit hash. Validate against the patch diff and local code rather than assuming all forks or all deployments are affected.

Mitigation direction

  • Apply patch commit b26ac6480761635ed94ccb0222ba6b732de6e53f where applicable.
  • Check upstream project guidance for any maintained release or additional fix notes.
  • Restrict access to affected deployments to trusted networks and users.
  • Review database permissions used by the application for least privilege.

Validation and detection

  • Inventory any use of simple_php_link_shortener in internal or hosted environments.
  • Confirm deployed code includes patch commit b26ac6480761635ed94ccb0222ba6b732de6e53f or equivalent remediation.
  • Review index.php handling of link identifiers for parameterized database access.
  • Check application and database logs for suspicious link identifier activity.
Prepared
Confidence
medium
Sources
5

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.

Open ATT&CK lookup
description · low confidence lookup

Database behavior lookup

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.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2018-25057 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

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.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

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.

ScoreVersionSeverityVectorExploitImpactSource
5.5CVSS 3.1MediumCVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L2.13.4Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.5Medium
CVSS 3.1 vector shape for CVE-2018-25057Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/asimple_php_link_shortenern/aListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-89 · source CWE mapping

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.