CVE-2022-4409: Thorsten/phpmyfaq PhpMyFAQ Has Insecure HTTP Cookies Vulnerability

HIGH
Advisory Identifier: GHSA-wpgc-5cr5-h9gg
CVSS 7.5
CWE-319 CWE-311 CWE-614
Published
Advisory Summary

CVE-2022-4409 is a HIGH (CVSS 7.5) phpmyfaq has insecure http cookies vulnerability (CWE-319: Cleartext Transmission of Sensitive Information) affecting Thorsten/phpmyfaq libraries in the Packagist ecosystem. The issue involves phpmyfaq has insecure http cookies. Remediation is available by upgrading affected packages to version 3.1.9.

CVE-2022-4409 at a Glance

CVE Identifier CVE-2022-4409
GHSA Identifier GHSA-wpgc-5cr5-h9gg
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-319: Cleartext Transmission of Sensitive Information
Affected Product Thorsten/phpmyfaq
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 7.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:H/I:N/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 High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2022-4409

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

thorsten/phpmyfaq fixed: 3.1.9
Upgrade thorsten/phpmyfaq to 3.1.9
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 thorsten/phpmyfaq

How to Check if You Are Affected

To determine whether your application is affected by CVE-2022-4409, inspect your project dependencies for Thorsten/phpmyfaq:

inspect dependencies for thorsten/phpmyfaq

Analyze the terminal output to locate any version of Thorsten/phpmyfaq in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.1.9), 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-319: Cleartext Transmission of Sensitive Information, where the product transmits sensitive or security-critical data in cleartext in a communication channel that can be sniffed by unauthorized actors. In Thorsten/phpmyfaq, 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

phpMyFAQ is contains Sensitive Cookie in HTTPS Session Without 'Secure' Attribute in versions prior to 3.1.9.

CVE-2022-4409 Affected Thorsten/phpmyfaq Versions

1 component(s)
Fixed Versions:
3.1.9
Product / Package Ecosystem Affected Versions Fixed Version
thorsten/phpmyfaq
Packagist
< 3.1.9
3.1.9

References

Frequently Asked Questions

What is CVE-2022-4409?
CVE-2022-4409 is a security vulnerability in Thorsten/phpmyfaq involving phpMyFAQ has insecure HTTP cookies under CWE-319: Cleartext Transmission of Sensitive Information.
Which Thorsten/phpmyfaq versions are affected?
Affected versions include releases prior to 3.1.9 across affected packages: thorsten/phpmyfaq.
What version fixes CVE-2022-4409?
Upgrading to 3.1.9 (or the latest patched release for your respective branch) resolves the vulnerability.
Is thorsten/phpmyfaq affected?
Yes, thorsten/phpmyfaq is affected in releases prior to 3.1.9. Upgrade your dependency to 3.1.9 or later.
What is the CVSS score of CVE-2022-4409?
CVE-2022-4409 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2022-4409?
CVE-2022-4409 is classified under CWE-319: Cleartext Transmission of Sensitive Information (The product transmits sensitive or security-critical data in cleartext in a communication channel that can be sniffed by unauthorized actors.).
How can I check Packagist dependencies for CVE-2022-4409?
Run the dependency tree command: 'inspect dependencies for thorsten/phpmyfaq'. 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-wpgc-5cr5-h9gg",
  "modified" : "2022-12-13T17:56:45Z",
  "published" : "2022-12-11T15:30:44Z",
  "aliases" : [ "CVE-2022-4409" ],
  "summary" : "phpMyFAQ has insecure HTTP cookies",
  "details" : "phpMyFAQ is contains Sensitive Cookie in HTTPS Session Without 'Secure' Attribute in versions prior to 3.1.9.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "thorsten/phpmyfaq"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.1.9"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-4409"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/thorsten/phpMyFAQ/commit/c16cc2bbe2687f75aa1204b804483091fae43cba"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/thorsten/phpmyfaq/commit/8b47f38"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/thorsten/phpmyfaq"
  }, {
    "type" : "WEB",
    "url" : "https://huntr.dev/bounties/5915ed4c-5fe2-42e7-8fac-5dd0d032727c"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-311", "CWE-319", "CWE-614" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-12-12T22:06:06Z",
    "nvd_published_at" : "2022-12-11T15:15:00Z"
  }
}