CVE-2018-7667: Vrana/adminer Vrana/adminer Vulnerable To SSRF By Vulnerability
MODERATECVE-2018-7667 is a MODERATE vrana/adminer vulnerable to ssrf by vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Vrana/adminer libraries in the Packagist ecosystem. The issue involves vrana/adminer vulnerable to ssrf by connecting to privileged ports. Remediation is available by upgrading affected packages to version 4.7.8.
CVE-2018-7667 at a Glance
How to Fix CVE-2018-7667
To remediate this vulnerability, upgrade all affected Vrana/adminer dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade vrana/adminer to 4.7.8
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for vrana/adminer
How to Check if You Are Affected
To determine whether your application is affected by CVE-2018-7667, inspect your project dependencies for Vrana/adminer:
inspect dependencies for vrana/adminer
Analyze the terminal output to locate any version of Vrana/adminer in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.7.8), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Vrana/adminer, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2018-7667 Affected Vrana/adminer Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
vrana/adminer
|
Packagist |
< 4.7.8
|
4.7.8
|
References
Frequently Asked Questions
What is CVE-2018-7667?
Which Vrana/adminer versions are affected?
What version fixes CVE-2018-7667?
Is vrana/adminer affected?
What CWE is associated with CVE-2018-7667?
How can I check Packagist dependencies for CVE-2018-7667?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-43f8-p5w3-5m25",
"modified" : "2023-09-21T19:57:49Z",
"published" : "2021-02-11T21:20:40Z",
"aliases" : [ "CVE-2018-7667" ],
"summary" : "vrana/adminer vulnerable to SSRF by connecting to privileged ports",
"details" : "### Impact\nAll users are affected.\n\n### Patches\n* Unsuccessfully patched by 0fae40fb, included in version [4.4.0](https://github.com/vrana/adminer/releases/tag/v4.4.0).\n* Patched by 35bfaa75, included in version [4.7.8](https://github.com/vrana/adminer/releases/tag/v4.7.8).\n\n### Workarounds\nProtect access to Adminer also by other means, e.g. by HTTP password, IP address limiting or by OTP [plugin](https://www.adminer.org/plugins/).\n\n### References\n* http://hyp3rlinx.altervista.org/advisories/ADMINER-UNAUTHENTICATED-SERVER-SIDE-REQUEST-FORGERY.txt\n* https://sourceforge.net/p/adminer/bugs-and-features/769/\n* https://gusralph.info/adminer-ssrf-bypass-cve-2018-7667/ (CVE-2020-28654)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Comment at 35bfaa75.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "vrana/adminer"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.7.8"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/vrana/adminer/security/advisories/GHSA-43f8-p5w3-5m25"
}, {
"type" : "WEB",
"url" : "https://github.com/vrana/adminer/commit/35bfaa75"
}, {
"type" : "WEB",
"url" : "https://gusralph.info/adminer-ssrf-bypass-cve-2018-7667"
}, {
"type" : "WEB",
"url" : "https://sourceforge.net/p/adminer/bugs-and-features/769"
}, {
"type" : "WEB",
"url" : "http://hyp3rlinx.altervista.org/advisories/ADMINER-UNAUTHENTICATED-SERVER-SIDE-REQUEST-FORGERY.txt"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2021-02-11T21:20:27Z",
"nvd_published_at" : null
}
}