OESA-2024-1758 (CVE-2024-35235)

Vulnerability from osv_openeuler – Published: 2024-06-28 11:07 – Updated: 2026-08-06 11:07 – Source website
VLAI
Summary
cups security update
Details

CUPS is the standards-based, open source printing system developed by Apple Inc. for UNIX®-like operating systems. CUPS uses the Internet Printing Protocol (IPP) to support printing to local and network printers..

Security Fix(es):

OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.8 and earlier, when starting the cupsd server with a Listen configuration item pointing to a symbolic link, the cupsd process can be caused to perform an arbitrary chmod of the provided argument, providing world-writable access to the target. Given that cupsd is often running as root, this can result in the change of permission of any user or system files to be world writable. Given the aforementioned Ubuntu AppArmor context, on such systems this vulnerability is limited to those files modifiable by the cupsd process. In that specific case it was found to be possible to turn the configuration of the Listen argument into full control over the cupsd.conf and cups-files.conf configuration files. By later setting the User and Group arguments in cups-files.conf, and printing with a printer configured by PPD with a FoomaticRIPCommandLine argument, arbitrary user and group (not root) command execution could be achieved, which can further be used on Ubuntu systems to achieve full root command execution. Commit ff1f8a623e090dee8a8aadf12a6a4b25efac143d contains a patch for the issue. (CVE-2024-35235)


{
  "affected": [
    {
      "ecosystem_specific": {
        "aarch64": [
          "cups-debuginfo-2.2.13-20.oe2003sp4.aarch64.rpm",
          "cups-2.2.13-20.oe2003sp4.aarch64.rpm",
          "cups-debugsource-2.2.13-20.oe2003sp4.aarch64.rpm",
          "cups-devel-2.2.13-20.oe2003sp4.aarch64.rpm",
          "cups-libs-2.2.13-20.oe2003sp4.aarch64.rpm"
        ],
        "noarch": [
          "cups-help-2.2.13-20.oe2003sp4.noarch.rpm"
        ],
        "src": [
          "cups-2.2.13-20.oe2003sp4.src.rpm"
        ],
        "x86_64": [
          "cups-2.2.13-20.oe2003sp4.x86_64.rpm",
          "cups-libs-2.2.13-20.oe2003sp4.x86_64.rpm",
          "cups-debugsource-2.2.13-20.oe2003sp4.x86_64.rpm",
          "cups-debuginfo-2.2.13-20.oe2003sp4.x86_64.rpm",
          "cups-devel-2.2.13-20.oe2003sp4.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:20.03-LTS-SP4",
        "name": "cups",
        "purl": "pkg:rpm/openEuler/cups\u0026distro=openEuler-20.03-LTS-SP4"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.2.13-20.oe2003sp4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "cups-debugsource-2.4.0-11.oe2203sp1.aarch64.rpm",
          "cups-debuginfo-2.4.0-11.oe2203sp1.aarch64.rpm",
          "cups-ipptool-2.4.0-11.oe2203sp1.aarch64.rpm",
          "cups-libs-2.4.0-11.oe2203sp1.aarch64.rpm",
          "cups-printerapp-2.4.0-11.oe2203sp1.aarch64.rpm",
          "cups-lpd-2.4.0-11.oe2203sp1.aarch64.rpm",
          "cups-2.4.0-11.oe2203sp1.aarch64.rpm",
          "cups-devel-2.4.0-11.oe2203sp1.aarch64.rpm",
          "cups-client-2.4.0-11.oe2203sp1.aarch64.rpm"
        ],
        "noarch": [
          "cups-filesystem-2.4.0-11.oe2203sp1.noarch.rpm",
          "cups-help-2.4.0-11.oe2203sp1.noarch.rpm"
        ],
        "src": [
          "cups-2.4.0-11.oe2203sp1.src.rpm"
        ],
        "x86_64": [
          "cups-lpd-2.4.0-11.oe2203sp1.x86_64.rpm",
          "cups-2.4.0-11.oe2203sp1.x86_64.rpm",
          "cups-debuginfo-2.4.0-11.oe2203sp1.x86_64.rpm",
          "cups-ipptool-2.4.0-11.oe2203sp1.x86_64.rpm",
          "cups-client-2.4.0-11.oe2203sp1.x86_64.rpm",
          "cups-debugsource-2.4.0-11.oe2203sp1.x86_64.rpm",
          "cups-devel-2.4.0-11.oe2203sp1.x86_64.rpm",
          "cups-libs-2.4.0-11.oe2203sp1.x86_64.rpm",
          "cups-printerapp-2.4.0-11.oe2203sp1.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS-SP1",
        "name": "cups",
        "purl": "pkg:rpm/openEuler/cups\u0026distro=openEuler-22.03-LTS-SP1"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.4.0-11.oe2203sp1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "cups-lpd-2.4.0-11.oe2203sp3.aarch64.rpm",
          "cups-devel-2.4.0-11.oe2203sp3.aarch64.rpm",
          "cups-libs-2.4.0-11.oe2203sp3.aarch64.rpm",
          "cups-printerapp-2.4.0-11.oe2203sp3.aarch64.rpm",
          "cups-2.4.0-11.oe2203sp3.aarch64.rpm",
          "cups-ipptool-2.4.0-11.oe2203sp3.aarch64.rpm",
          "cups-client-2.4.0-11.oe2203sp3.aarch64.rpm",
          "cups-debuginfo-2.4.0-11.oe2203sp3.aarch64.rpm",
          "cups-debugsource-2.4.0-11.oe2203sp3.aarch64.rpm"
        ],
        "noarch": [
          "cups-filesystem-2.4.0-11.oe2203sp3.noarch.rpm",
          "cups-help-2.4.0-11.oe2203sp3.noarch.rpm"
        ],
        "src": [
          "cups-2.4.0-11.oe2203sp3.src.rpm"
        ],
        "x86_64": [
          "cups-printerapp-2.4.0-11.oe2203sp3.x86_64.rpm",
          "cups-libs-2.4.0-11.oe2203sp3.x86_64.rpm",
          "cups-2.4.0-11.oe2203sp3.x86_64.rpm",
          "cups-lpd-2.4.0-11.oe2203sp3.x86_64.rpm",
          "cups-devel-2.4.0-11.oe2203sp3.x86_64.rpm",
          "cups-debugsource-2.4.0-11.oe2203sp3.x86_64.rpm",
          "cups-debuginfo-2.4.0-11.oe2203sp3.x86_64.rpm",
          "cups-client-2.4.0-11.oe2203sp3.x86_64.rpm",
          "cups-ipptool-2.4.0-11.oe2203sp3.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:22.03-LTS-SP3",
        "name": "cups",
        "purl": "pkg:rpm/openEuler/cups\u0026distro=openEuler-22.03-LTS-SP3"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.4.0-11.oe2203sp3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "ecosystem_specific": {
        "aarch64": [
          "cups-debuginfo-2.4.7-3.oe2403.aarch64.rpm",
          "cups-debugsource-2.4.7-3.oe2403.aarch64.rpm",
          "cups-lpd-2.4.7-3.oe2403.aarch64.rpm",
          "cups-devel-2.4.7-3.oe2403.aarch64.rpm",
          "cups-printerapp-2.4.7-3.oe2403.aarch64.rpm",
          "cups-2.4.7-3.oe2403.aarch64.rpm",
          "cups-libs-2.4.7-3.oe2403.aarch64.rpm",
          "cups-ipptool-2.4.7-3.oe2403.aarch64.rpm",
          "cups-client-2.4.7-3.oe2403.aarch64.rpm"
        ],
        "noarch": [
          "cups-help-2.4.7-3.oe2403.noarch.rpm",
          "cups-filesystem-2.4.7-3.oe2403.noarch.rpm"
        ],
        "src": [
          "cups-2.4.7-3.oe2403.src.rpm"
        ],
        "x86_64": [
          "cups-debugsource-2.4.7-3.oe2403.x86_64.rpm",
          "cups-2.4.7-3.oe2403.x86_64.rpm",
          "cups-debuginfo-2.4.7-3.oe2403.x86_64.rpm",
          "cups-libs-2.4.7-3.oe2403.x86_64.rpm",
          "cups-client-2.4.7-3.oe2403.x86_64.rpm",
          "cups-lpd-2.4.7-3.oe2403.x86_64.rpm",
          "cups-printerapp-2.4.7-3.oe2403.x86_64.rpm",
          "cups-ipptool-2.4.7-3.oe2403.x86_64.rpm",
          "cups-devel-2.4.7-3.oe2403.x86_64.rpm"
        ]
      },
      "package": {
        "ecosystem": "openEuler:24.03-LTS",
        "name": "cups",
        "purl": "pkg:rpm/openEuler/cups\u0026distro=openEuler-24.03-LTS"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.4.7-3.oe2403"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "severity": "Medium"
  },
  "details": "CUPS is the standards-based, open source printing system developed by Apple Inc. for UNIX\u00ae-like operating systems. CUPS uses the Internet Printing Protocol (IPP) to support printing to local and network printers..\r\n\r\nSecurity Fix(es):\r\n\r\nOpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.8 and earlier, when starting the cupsd server with a Listen configuration item pointing to a symbolic link, the cupsd process can be caused to perform an arbitrary chmod of the provided argument, providing world-writable access to the target. Given that cupsd is often running as root, this can result in the change of permission of any user or system files to be world writable. Given the aforementioned Ubuntu AppArmor context, on such systems this vulnerability is limited to those files modifiable by the cupsd process. In that specific case it was found to be possible to turn the configuration of the Listen argument into full control over the cupsd.conf and cups-files.conf configuration files. By later setting the User and Group arguments in cups-files.conf, and printing with a printer configured by PPD with a `FoomaticRIPCommandLine` argument, arbitrary user and group (not root) command execution could be achieved, which can further be used on Ubuntu systems to achieve full root command execution. Commit ff1f8a623e090dee8a8aadf12a6a4b25efac143d contains a patch for the issue.\n(CVE-2024-35235)",
  "id": "OESA-2024-1758",
  "modified": "2026-08-06T11:07:13Z",
  "published": "2024-06-28T11:07:13Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1758"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-35235"
    }
  ],
  "schema_version": "1.7.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "cups security update",
  "upstream": [
    "CVE-2024-35235"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…