VDE-2024-037

Vulnerability from csaf_pepperlfuchsse - Published: 2024-07-10 06:00 - Updated: 2024-07-10 06:00
Summary
Pepperl+Fuchs: Use after free vulnerability in Smart-Ex 02 and Smart-Ex 03
Notes
Summary: A critical security vulnerability was discovered in the products, which is caused by the IPv6 stack in the Linux kernel.The impact of the vulnerability on the affected products may result in Elevation of privileges
Impact: A privileged local attacker can exploit the vulnerability to gain kernel privileges.
Mitigation: A protective measure is required. Control access for privileged users. Use IPv4 instead of IPv6. Update the products, when an update is available. The Issue will be fixed with MR11 on Smart-Ex 02 in September 2024. The Issue will be fixed with MR3 on SMART-EX 03 in August 2024.

In the Linux kernel, the following vulnerability has been resolved: net: fix __dst_negative_advice() race __dst_negative_advice() does not enforce proper RCU rules when sk->dst_cache must be cleared, leading to possible UAF. RCU rules are that we must first clear sk->sk_dst_cache, then call dst_release(old_dst). Note that sk_dst_reset(sk) is implementing this protocol correctly, while __dst_negative_advice() uses the wrong order. Given that ip6_negative_advice() has special logic against RTF_CACHE, this means each of the three ->negative_advice() existing methods must perform the sk_dst_reset() themselves. Note the check against NULL dst is centralized in __dst_negative_advice(), there is no need to duplicate it in various callbacks. Many thanks to Clement Lecigne for tracking this issue. This old bug became visible after the blamed commit, using UDP sockets.

CWE-416 - Use After Free
Mitigation A protective measure is required. Control access for privileged users. Use IPv4 instead of IPv6. Update the products, when an update is available. The Issue will be fixed with MR11 on Smart-Ex 02 in September 2024. The Issue will be fixed with MR3 on SMART-EX 03 in August 2024.
Acknowledgments
CERT@VDE certvde.com

{
  "document": {
    "acknowledgments": [
      {
        "organization": "CERT@VDE",
        "summary": "coordination",
        "urls": [
          "https://certvde.com"
        ]
      }
    ],
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en-GB",
    "notes": [
      {
        "category": "summary",
        "text": "A critical security vulnerability was discovered in the products, which is caused by the IPv6 stack in the Linux kernel.The impact of the vulnerability on the affected products may result in\n\nElevation of privileges",
        "title": "Summary"
      },
      {
        "category": "description",
        "text": "A privileged local attacker can exploit the vulnerability to gain kernel privileges.",
        "title": "Impact"
      },
      {
        "category": "description",
        "text": "A protective measure is required.\n\nControl access for privileged users.\nUse IPv4 instead of IPv6.\nUpdate the products, when an update is available.\n\nThe Issue will be fixed with MR11 on Smart-Ex 02 in September 2024.\n\nThe Issue will be fixed with MR3 on SMART-EX 03 in August 2024.",
        "title": "Mitigation"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "cert@pepperl-fuchs.com",
      "name": "Pepperl+Fuchs SE",
      "namespace": "https://www.pepperl-fuchs.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "VDE-2024-037: Pepperl+Fuchs: Use after free vulnerability in Smart-Ex 02 and Smart-Ex 03 - HTML",
        "url": "https://certvde.com/en/advisories/VDE-2024-037/"
      },
      {
        "category": "self",
        "summary": "VDE-2024-037: Pepperl+Fuchs: Use after free vulnerability in Smart-Ex 02 and Smart-Ex 03 - CSAF",
        "url": "https://pepperl-fuchs.csaf-tp.certvde.com/.well-known/csaf/white/2024/vde-2024-037.json"
      },
      {
        "category": "external",
        "summary": "Pepperl+Fuchs PSIRT",
        "url": "https://www.pepperl-fuchs.com/de-de/support/benachrichtigungen-und-updates/cybersecurity-information-and-reporting-gp43254"
      },
      {
        "category": "external",
        "summary": "CERT@VDE Security Advisories for Pepperl+Fuchs SE",
        "url": "https://certvde.com/en/advisories/vendor/pepperl-fuchs/"
      }
    ],
    "title": "Pepperl+Fuchs: Use after free vulnerability in Smart-Ex 02 and Smart-Ex 03",
    "tracking": {
      "aliases": [
        "VDE-2024-037"
      ],
      "current_release_date": "2024-07-10T06:00:00.000Z",
      "generator": {
        "date": "2025-05-05T08:54:35.675Z",
        "engine": {
          "name": "Secvisogram",
          "version": "2.5.24"
        }
      },
      "id": "VDE-2024-037",
      "initial_release_date": "2024-07-10T06:00:00.000Z",
      "revision_history": [
        {
          "date": "2024-07-10T06:00:00.000Z",
          "number": "1",
          "summary": "Initial revision."
        }
      ],
      "status": "final",
      "version": "1"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Smart-Ex 02",
                "product": {
                  "name": "Smart-Ex 02",
                  "product_id": "CSAFPID-11001",
                  "product_identification_helper": {
                    "model_numbers": [
                      "480986-100000 to 480986-100080"
                    ]
                  }
                }
              },
              {
                "category": "product_name",
                "name": "Smart-Ex02BR-ROW-DZ1BRA- ANDC..",
                "product": {
                  "name": "Smart-Ex02BR-ROW-DZ1BRA- ANDC..",
                  "product_id": "CSAFPID-11002",
                  "product_identification_helper": {
                    "model_numbers": [
                      "70144901"
                    ]
                  }
                }
              },
              {
                "category": "product_name",
                "name": "Smart-Ex02-RUS-DZ2EAC- ANDC00HM",
                "product": {
                  "name": "Smart-Ex02-RUS-DZ2EAC- ANDC00HM",
                  "product_id": "CSAFPID-11003",
                  "product_identification_helper": {
                    "model_numbers": [
                      "70142279"
                    ]
                  }
                }
              },
              {
                "category": "product_name",
                "name": "Smart-Ex02-RUS-DZ2EAC- ANDCES..",
                "product": {
                  "name": "Smart-Ex02-RUS-DZ2EAC- ANDCES..",
                  "product_id": "CSAFPID-11004",
                  "product_identification_helper": {
                    "model_numbers": [
                      "70144900"
                    ]
                  }
                }
              },
              {
                "category": "product_name",
                "name": "SMART-EX 03",
                "product": {
                  "name": "SMART-EX 03",
                  "product_id": "CSAFPID-11005",
                  "product_identification_helper": {
                    "model_numbers": [
                      "480994-100000 to 480994-100075"
                    ]
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Hardware"
          },
          {
            "branches": [
              {
                "category": "product_version_range",
                "name": "\u003c=MR10 (S02ROW.EC.01.02.244.00)",
                "product": {
                  "name": "Firmware \u003c= MR10 (S02ROW.EC.01.02.244.00)",
                  "product_id": "CSAFPID-21001"
                }
              },
              {
                "category": "product_version_range",
                "name": "\u003c=MR2 (S03ROW.13.00.00.032)",
                "product": {
                  "name": "Firmware \u003c= MR2 (S03ROW.13.00.00.032)",
                  "product_id": "CSAFPID-21002"
                }
              }
            ],
            "category": "product_family",
            "name": "Firmware"
          }
        ],
        "category": "vendor",
        "name": "Pepperl+Fuchs"
      }
    ],
    "product_groups": [
      {
        "group_id": "CSAFGID-0001",
        "product_ids": [
          "CSAFPID-31001",
          "CSAFPID-31002",
          "CSAFPID-31003",
          "CSAFPID-31004",
          "CSAFPID-31005"
        ],
        "summary": "Affected products."
      }
    ],
    "relationships": [
      {
        "category": "installed_on",
        "full_product_name": {
          "name": "Firmware \u003c= MR10 (S02ROW.EC.01.02.244.00) installed on Smart-Ex 02",
          "product_id": "CSAFPID-31001"
        },
        "product_reference": "CSAFPID-21001",
        "relates_to_product_reference": "CSAFPID-11001"
      },
      {
        "category": "installed_on",
        "full_product_name": {
          "name": "Firmware \u003c= MR10 (S02ROW.EC.01.02.244.00) installed on Smart-Ex02BR-ROW-DZ1BRA- ANDC..",
          "product_id": "CSAFPID-31002"
        },
        "product_reference": "CSAFPID-21001",
        "relates_to_product_reference": "CSAFPID-11002"
      },
      {
        "category": "installed_on",
        "full_product_name": {
          "name": "Firmware \u003c= MR10 (S02ROW.EC.01.02.244.00) installed on Smart-Ex02-RUS-DZ2EAC- ANDC00HM",
          "product_id": "CSAFPID-31003"
        },
        "product_reference": "CSAFPID-21001",
        "relates_to_product_reference": "CSAFPID-11003"
      },
      {
        "category": "installed_on",
        "full_product_name": {
          "name": "Firmware \u003c= MR10 (S02ROW.EC.01.02.244.00) installed on Smart-Ex02-RUS-DZ2EAC- ANDCES..",
          "product_id": "CSAFPID-31004"
        },
        "product_reference": "CSAFPID-21001",
        "relates_to_product_reference": "CSAFPID-11004"
      },
      {
        "category": "installed_on",
        "full_product_name": {
          "name": "Firmware \u003c= MR2 (S03ROW.13.00.00.032) installed on SMART-EX 03",
          "product_id": "CSAFPID-31005"
        },
        "product_reference": "CSAFPID-21002",
        "relates_to_product_reference": "CSAFPID-11005"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2024-36971",
      "cwe": {
        "id": "CWE-416",
        "name": "Use After Free"
      },
      "notes": [
        {
          "category": "description",
          "text": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: fix __dst_negative_advice() race\n\n__dst_negative_advice() does not enforce proper RCU rules when\nsk-\u003edst_cache must be cleared, leading to possible UAF.\n\nRCU rules are that we must first clear sk-\u003esk_dst_cache,\nthen call dst_release(old_dst).\n\nNote that sk_dst_reset(sk) is implementing this protocol correctly,\nwhile __dst_negative_advice() uses the wrong order.\n\nGiven that ip6_negative_advice() has special logic\nagainst RTF_CACHE, this means each of the three -\u003enegative_advice()\nexisting methods must perform the sk_dst_reset() themselves.\n\nNote the check against NULL dst is centralized in\n__dst_negative_advice(), there is no need to duplicate\nit in various callbacks.\n\nMany thanks to Clement Lecigne for tracking this issue.\n\nThis old bug became visible after the blamed commit, using UDP sockets.",
          "title": "Vulnerability Description"
        }
      ],
      "product_status": {
        "known_affected": [
          "CSAFPID-31001",
          "CSAFPID-31002",
          "CSAFPID-31003",
          "CSAFPID-31004",
          "CSAFPID-31005"
        ]
      },
      "remediations": [
        {
          "category": "mitigation",
          "details": "A protective measure is required.\n\nControl access for privileged users.\nUse IPv4 instead of IPv6.\nUpdate the products, when an update is available.\n\nThe Issue will be fixed with MR11 on Smart-Ex 02 in September 2024.\n\nThe Issue will be fixed with MR3 on SMART-EX 03 in August 2024.",
          "group_ids": [
            "CSAFGID-0001"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "environmentalScore": 7.8,
            "environmentalSeverity": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "temporalScore": 7.8,
            "temporalSeverity": "HIGH",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "products": [
            "CSAFPID-31001",
            "CSAFPID-31002",
            "CSAFPID-31003",
            "CSAFPID-31004",
            "CSAFPID-31005"
          ]
        }
      ],
      "title": "CVE-2024-36971"
    }
  ]
}


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…