CVE-2022-47407: TYPO3-EXT-SA-2022-018 Multiple Vulnerabilities Vulnerability

MODERATE
Advisory Identifier: GHSA-7gpw-frph-fwrg
CVSS 6.5
CWE-284
Published
Advisory Summary

CVE-2022-47407 is a MODERATE (CVSS 6.5) multiple vulnerabilities vulnerability (CWE-284: Improper Access Control) affecting TYPO3-EXT-SA-2022-018 libraries in the Packagist ecosystem. The issue involves multiple vulnerabilities in extension "master-quiz" (fp_masterquiz). Remediation is available by upgrading affected packages to version 3.5.2, 2.2.1.

CVE-2022-47407 at a Glance

CVE Identifier CVE-2022-47407
GHSA Identifier GHSA-7gpw-frph-fwrg
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-284: Improper Access Control
Affected Product TYPO3-EXT-SA-2022-018
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 6.5

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:L/I:L/A:N).

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 Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2022-47407

To remediate this vulnerability, upgrade all affected TYPO3-EXT-SA-2022-018 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

fixpunkt/fp-masterquiz fixed: 3.5.2
Upgrade fixpunkt/fp-masterquiz to 3.5.2
fixpunkt/fp-masterquiz fixed: 2.2.1
Upgrade fixpunkt/fp-masterquiz to 2.2.1
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 fixpunkt/fp-masterquiz

How to Check if You Are Affected

To determine whether your application is affected by CVE-2022-47407, inspect your project dependencies for TYPO3-EXT-SA-2022-018:

inspect dependencies for fixpunkt/fp-masterquiz

Analyze the terminal output to locate any version of TYPO3-EXT-SA-2022-018 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.5.2), 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-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In TYPO3-EXT-SA-2022-018, 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

An issue was discovered in the fp_masterquiz (aka Master-Quiz) extension before 2.2.1, and 3.x before 3.5.1, for TYPO3. An attacker can continue the quiz of a different user. In doing so, the attacker can view that user's answers and modify those answers.

CVE-2022-47407 Affected TYPO3-EXT-SA-2022-018 Versions

2 component(s)
Fixed Versions:
3.5.22.2.1
Product / Package Ecosystem Affected Versions Fixed Version
fixpunkt/fp-masterquiz
Packagist
≥ 3.0.0
< 3.5.2
3.5.2
fixpunkt/fp-masterquiz
Packagist
< 2.2.1
2.2.1

References

Frequently Asked Questions

What is CVE-2022-47407?
CVE-2022-47407 is a security vulnerability in TYPO3-EXT-SA-2022-018 involving Multiple vulnerabilities in extension "Master-Quiz" (fp_masterquiz) under CWE-284: Improper Access Control.
Which TYPO3-EXT-SA-2022-018 versions are affected?
Affected versions include releases prior to 3.5.2, 2.2.1 across affected packages: fixpunkt/fp-masterquiz.
What version fixes CVE-2022-47407?
Upgrading to 3.5.2, 2.2.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is fixpunkt/fp-masterquiz affected?
Yes, fixpunkt/fp-masterquiz is affected in releases prior to 3.5.2, 2.2.1. Upgrade your dependency to 3.5.2, 2.2.1 or later.
What is the CVSS score of CVE-2022-47407?
CVE-2022-47407 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2022-47407?
CVE-2022-47407 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check Packagist dependencies for CVE-2022-47407?
Run the dependency tree command: 'inspect dependencies for fixpunkt/fp-masterquiz'. 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-7gpw-frph-fwrg",
  "modified" : "2023-02-08T21:57:03Z",
  "published" : "2022-12-14T21:30:16Z",
  "aliases" : [ "CVE-2022-47407" ],
  "summary" : "TYPO3-EXT-SA-2022-018: Multiple vulnerabilities in extension \"Master-Quiz\" (fp_masterquiz)",
  "details" : "An issue was discovered in the fp_masterquiz (aka Master-Quiz) extension before 2.2.1, and 3.x before 3.5.1, for TYPO3. An attacker can continue the quiz of a different user. In doing so, the attacker can view that user's answers and modify those answers.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "fixpunkt/fp-masterquiz"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.5.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "fixpunkt/fp-masterquiz"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.2.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-47407"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/bihor/fp_masterquiz/commit/f6f1baa594334c629637f5b87478ae31cdcaaa09"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/bihor/fp_masterquiz/commit/fce4ec64600df3f38cacc9a86ba2bd063a51e140"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/fixpunkt/fp-masterquiz/CVE-2022-47407.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://typo3.org/security/advisory/typo3-ext-sa-2022-018"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-02-08T21:57:03Z",
    "nvd_published_at" : "2022-12-14T21:15:00Z"
  }
}