ghsa-2v82-5746-vwqc
Vulnerability from github
Published
2022-03-18 17:49
Modified
2022-03-18 17:49
Summary
XSS in doc_link
Details

Impact

Users of MySQL, MariaDB, PgSQL and SQLite are affected. XSS is in most cases prevented by strict CSP in all modern browsers. The only exception is when Adminer is using a pdo_ extension to communicate with the database (it is used if the native extensions are not enabled). In browsers without CSP, Adminer versions 4.6.1 to 4.8.0 are affected.

Patches

Patched by 4043092, included in version 4.8.1.

Workarounds

Do both: * Use browser supporting strict CSP. * Enable the native PHP extensions (e.g. mysqli) or disable displaying PHP errors (display_errors).

References

https://sourceforge.net/p/adminer/bugs-and-features/797/

For more information

If you have any questions or comments about this advisory: * Comment at 4043092.

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "Packagist",
        "name": "vrana/adminer"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.7.8"
            },
            {
              "fixed": "4.8.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2021-29625"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2021-05-17T19:18:12Z",
    "nvd_published_at": "2021-05-19T22:15:00Z",
    "severity": "HIGH"
  },
  "details": "### Impact\nUsers of MySQL, MariaDB, PgSQL and SQLite are affected. XSS is in most cases prevented by strict CSP in all modern browsers. The only exception is when Adminer is using a `pdo_` extension to communicate with the database (it is used if the native extensions are not enabled). In browsers without CSP, Adminer versions 4.6.1 to 4.8.0 are affected.\n\n### Patches\nPatched by 4043092, included in version [4.8.1](https://github.com/vrana/adminer/releases/tag/v4.8.1).\n\n### Workarounds\nDo both:\n* Use browser supporting strict CSP.\n* Enable the native PHP extensions (e.g. `mysqli`) or disable displaying PHP errors (`display_errors`).\n\n### References\nhttps://sourceforge.net/p/adminer/bugs-and-features/797/\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Comment at 4043092.\n",
  "id": "GHSA-2v82-5746-vwqc",
  "modified": "2022-03-18T17:49:28Z",
  "published": "2022-03-18T17:49:28Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/vrana/adminer/security/advisories/GHSA-2v82-5746-vwqc"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-29625"
    },
    {
      "type": "WEB",
      "url": "https://github.com/vrana/adminer/commit/4043092ec2c0de2258d60a99d0c5958637d051a7"
    },
    {
      "type": "WEB",
      "url": "https://packagist.org/packages/vrana/adminer"
    },
    {
      "type": "WEB",
      "url": "https://sourceforge.net/p/adminer/bugs-and-features/797"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "XSS in doc_link"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...
  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.