GHSA-GCV6-2V9C-RJ48

Vulnerability from github – Published: 2022-05-24 16:55 – Updated: 2023-07-07 13:52
VLAI?
Summary
Cosenary Instagram-PHP-API contains reflected XSS vulnerability
Details

cosenary Instagram-PHP-API (aka Instagram PHP API V2), used in the UserPro plugin through 4.9.32 for WordPress, is vulnerable to cross-site scripting via the example/success.php error_description parameter.

Vulnerable code:

    if (isset($_GET['error'])) {
        echo 'An error occurred: ' . $_GET['error_description'];
    }

Proof-of-Concept:

https://domain.tld/wp-content/plugins/userpro/lib/instagram/vendor/cosenary/instagram/example/success.php?error=&error_description=<PAYLOAD>

Show details on source website

{
  "affected": [
    {
      "package": {
        "ecosystem": "Packagist",
        "name": "cosenary/instagram"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "2.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2019-14470"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": true,
    "github_reviewed_at": "2023-07-07T13:52:40Z",
    "nvd_published_at": "2019-09-04T20:15:00Z",
    "severity": "MODERATE"
  },
  "details": "cosenary Instagram-PHP-API (aka Instagram PHP API V2), used in the UserPro plugin through 4.9.32 for WordPress, is vulnerable to cross-site scripting via the [example/success.php](https://github.com/cosenary/Instagram-PHP-API/blob/master/example/success.php#L36\n) error_description parameter.\n\nVulnerable code:\n\n```php\n    if (isset($_GET[\u0027error\u0027])) {\n        echo \u0027An error occurred: \u0027 . $_GET[\u0027error_description\u0027];\n    }\n```\n\nProof-of-Concept:\n\n`https://domain.tld/wp-content/plugins/userpro/lib/instagram/vendor/cosenary/instagram/example/success.php?error=\u0026error_description=\u003cPAYLOAD\u003e`",
  "id": "GHSA-gcv6-2v9c-rj48",
  "modified": "2023-07-07T13:52:40Z",
  "published": "2022-05-24T16:55:25Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2019-14470"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/cosenary/Instagram-PHP-API"
    },
    {
      "type": "WEB",
      "url": "https://github.com/cosenary/Instagram-PHP-API/blob/master/example/success.php#L33-L36"
    },
    {
      "type": "WEB",
      "url": "https://wpvulndb.com/vulnerabilities/9815"
    },
    {
      "type": "WEB",
      "url": "https://www.exploit-db.com/exploits/47304"
    },
    {
      "type": "WEB",
      "url": "http://packetstormsecurity.com/files/154206/WordPress-UserPro-4.9.32-Cross-Site-Scripting.html"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Cosenary Instagram-PHP-API contains reflected XSS vulnerability"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…