إرسال #918280: The Trusted Domain Project OpenDMARC 1.4.2 Integer Overflowالمعلومات

عنوانThe Trusted Domain Project OpenDMARC 1.4.2 Integer Overflow
الوصفOpenDMARC 1.4.2 contains an integer wraparound vulnerability when parsing the DMARC `pct` tag. The value is converted to a 32-bit unsigned integer before OpenDMARC verifies that it falls within the RFC-defined range of 0 to 100. Consequently, an out-of-range value is reduced modulo 2³² before validation. For example, `pct=4294967296` wraps to `0`, while `pct=4294967346` wraps to `50`. OpenDMARC accepts these records and applies the resulting wrapped value as the policy sampling percentage, even though the published values are invalid under RFC 7489. The enforced DMARC policy can therefore differ from the policy actually published by the domain owner. An attacker able to influence a domain’s DMARC record can exploit the issue by supplying a specially chosen `pct` value. The same behavior may also be triggered by an administrative configuration error. Depending on the wrapped result, OpenDMARC may enforce the policy at an unintended sampling rate or treat the record as invalid and fail to apply a published `p=reject` or `p=quarantine` policy. The issue is caused by integer overflow during conversion and should be addressed by detecting overflow and validating the original numeric value before storing it in a 32-bit type.
المصدر⚠️ https://xuyongzhe-vt.github.io/share/dmarc-pct-integer-handling.html
المستخدم
 yongzhe_xu (UID 100420)
ارسال07/08/2026 06:09 AM (2 أشهر منذ)
الاعتدال28/09/2026 01:53 PM (2 months later)
الحالةتمت الموافقة
إدخال VulDB411036 [Trusted Domain Project OpenDMARC حتى 1.4.2 DMARC Parser opendmarc_policy.c pct تلف الذاكرة]
النقاط20

Do you want to use VulDB in your project?

Use the official API to access entries easily!