CVE-2022-24637: Open web analytics/open web analytics Improper Privilege Management Vulnerability

CRITICAL
Advisory Identifier: GHSA-pr9q-v585-qv2w
CVSS 9.8
CWE-269
Published
Advisory Summary

CVE-2022-24637 is a CRITICAL (CVSS 9.8) improper privilege management vulnerability (CWE-269: Improper Privilege Management) affecting Open web analytics/open web analytics libraries in the Packagist ecosystem. The issue involves improper privilege management in open web analytics. Remediation is available by upgrading affected packages to version 1.7.4.

CVE-2022-24637 at a Glance

CVE Identifier CVE-2022-24637
GHSA Identifier GHSA-pr9q-v585-qv2w
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-269: Improper Privilege Management
Affected Product Open web analytics/open web analytics
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 9.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2022-24637

To remediate this vulnerability, upgrade all affected Open web analytics/open web analytics dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

open-web-analytics/open-web-analytics fixed: 1.7.4
Upgrade open-web-analytics/open-web-analytics to 1.7.4
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for open-web-analytics/open-web-analytics

How to Check if You Are Affected

To determine whether your application is affected by CVE-2022-24637, inspect your project dependencies for Open web analytics/open web analytics:

inspect dependencies for open-web-analytics/open-web-analytics

Analyze the terminal output to locate any version of Open web analytics/open web analytics in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.7.4), 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-269: Improper Privilege Management, where the product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. In Open web analytics/open web analytics, 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

Open Web Analytics (OWA) before 1.7.4 allows an unauthenticated remote attacker to obtain sensitive user information, which can be used to gain admin privileges by leveraging cache hashes. This occurs because files generated with '<?php (instead of the intended "<?php sequence) aren't handled by the PHP interpreter.

CVE-2022-24637 Affected Open web analytics/open web analytics Versions

1 component(s)
Fixed Versions:
1.7.4
Product / Package Ecosystem Affected Versions Fixed Version
open-web-analytics/open-web-analytics
Packagist
< 1.7.4
1.7.4

References

Frequently Asked Questions

What is CVE-2022-24637?
CVE-2022-24637 is a security vulnerability in Open web analytics/open web analytics involving Improper Privilege Management in Open Web Analytics under CWE-269: Improper Privilege Management.
Which Open web analytics/open web analytics versions are affected?
Affected versions include releases prior to 1.7.4 across affected packages: open-web-analytics/open-web-analytics.
What version fixes CVE-2022-24637?
Upgrading to 1.7.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is open-web-analytics/open-web-analytics affected?
Yes, open-web-analytics/open-web-analytics is affected in releases prior to 1.7.4. Upgrade your dependency to 1.7.4 or later.
What is the CVSS score of CVE-2022-24637?
CVE-2022-24637 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2022-24637?
CVE-2022-24637 is classified under CWE-269: Improper Privilege Management (The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.).
How can I check Packagist dependencies for CVE-2022-24637?
Run the dependency tree command: 'inspect dependencies for open-web-analytics/open-web-analytics'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-pr9q-v585-qv2w",
  "modified" : "2022-03-30T20:03:55Z",
  "published" : "2022-03-19T00:01:00Z",
  "aliases" : [ "CVE-2022-24637" ],
  "summary" : "Improper Privilege Management in Open Web Analytics",
  "details" : "Open Web Analytics (OWA) before 1.7.4 allows an unauthenticated remote attacker to obtain sensitive user information, which can be used to gain admin privileges by leveraging cache hashes. This occurs because files generated with '<?php (instead of the intended \"<?php sequence) aren't handled by the PHP interpreter.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "open-web-analytics/open-web-analytics"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.7.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-24637"
  }, {
    "type" : "WEB",
    "url" : "https://devel0pment.de/?p=2494"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/Open-Web-Analytics/Open-Web-Analytics"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Open-Web-Analytics/Open-Web-Analytics/releases/tag/1.7.4"
  }, {
    "type" : "WEB",
    "url" : "http://packetstormsecurity.com/files/169811/Open-Web-Analytics-1.7.3-Remote-Code-Execution.html"
  }, {
    "type" : "WEB",
    "url" : "http://packetstormsecurity.com/files/171389/Open-Web-Analytics-1.7.3-Remote-Code-Execution.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-269" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-03-30T20:03:55Z",
    "nvd_published_at" : "2022-03-18T16:15:00Z"
  }
}