PHP 漏洞与安全更新
1,000 条以上
12月4日周五
Laravel: Numeric validation can exhaust resources via extreme exponent input
受影响: composer:laravel/framework < 12.74.0 → 12.74.0, composer:laravel/framework >= 13.0.0, < 13.44.1 → 13.44.1 The multiple_of validation rule, and the gt, gte, lt and lte rules when they compare against another numeric field, expand numeric input using arbitrary-precision arithmetic without bounding its exponent. A request containing a very small or very large exponent value, such as one in scientific notation, can cause excessive memory and CPU use and may exhaust PHP's memory limit. Applications are affected when these rules are applied to an unbounded numeric field, with no preceding bounding rule s…
Laravel: Cross-Origin Auth Token Leakage Through Broadcasting JSONP Callback
受影响: composer:laravel/framework < 12.53.0 → 12.53.0 The Pusher and Reverb broadcasters answered the /broadcasting/auth endpoint with a JSONP response when a callback parameter was present. The endpoint also accepts GET requests without CSRF protection. A malicious page could therefore load the endpoint as a script and read the channel auth token of a logged-in user. With that token, an attacker could subscribe to the user's private and presence channels and receive their events. With the default SameSite=Lax session cookie, the attacker's page h…
Laravel: Fluent Rule::exists() and Rule::unique() where() values can be interpreted as reserved predicates instead of literal values
受影响: composer:laravel/framework >= 13.0.0, < 13.43.0 → 13.43.0, composer:laravel/framework < 12.73.0 → 12.73.0 When Rule::exists() or Rule::unique() is scoped with the fluent where() method, the condition is serialized into the string rule format and parsed again. A scalar value of NULL, NOT_NULL, or one starting with ! could be evaluated as an IS NULL, IS NOT NULL, or not-equal predicate instead of a literal comparison. If an attacker can influence a scope value, such as a tenant key, and the application relies on the rule to verify ownership of a referenced record, the validation can accept records fr…
silverstripe/userforms allows cross-site scripting through uploaded XML-based files
受影响: composer:silverstripe/userforms < 7.1.4 → 7.1.4, composer:silverstripe/assets < 3.2.3 → 3.2.3 A file containing script could be uploaded through a user-defined form file-upload field under an XML-based file extension. The file was served inline, so the script ran in the browser of a CMS user who opened the uploaded file. Reported by Jack Wallace from Bastion Security
silverstripe/framework allows stored cross-site scripting through control bytes in URL schemes
受影响: composer:silverstripe/framework < 6.2.13 → 6.2.13, composer:silverstripe/framework >= 6.3.0-beta1, < 6.3.0 → 6.3.0 The HTML sanitiser did not remove javascript: URLs preceded by certain control bytes. A CMS author could store content that runs JavaScript in the browser of another user who views it. Reported by Jack Wallace from Bastion Security
silverstripe/userforms exposes restricted uploaded files through CSV export
受影响: composer:silverstripe/userforms < 7.1.4 → 7.1.4 Exporting user-defined form submissions to CSV gave the exporting user access to uploaded files that they did not have permission to view. Reported by Will Frame (wpf.nz)
Laravel: Quadratic regex backtracking in the decimal validation rule can cause denial of service
受影响: composer:laravel/framework >= 13.0.0, < 13.43.0 → 13.43.0, composer:laravel/framework < 12.73.0 → 12.73.0 The decimal validation rule counts decimal places with a regular expression that backtracks quadratically on certain input. A very long run of digits followed by an exponent (for example, a value ending in e5) passes the rule's is_numeric() check and then forces excessive regex backtracking before the match fails. Any application that validates a request field with the decimal rule is affected, with no non-default configuration. A single large request can consume several seconds of worker CPU,…
Laravel: `in` / `Rule::in` validation rule bypass via loose comparison
受影响: composer:laravel/framework < 12.67.0 → 12.67.0, composer:laravel/framework >= 13.0.0, < 13.26.0 → 13.26.0 The in validation rule (and Rule::in, and not_in via the same code) compares the scalar input to the allowlist with a non-strict in_array(). PHP 8 then compares numeric strings numerically, so many values that are not literally in the list pass validation — including whitespace-padded, leading-zero, signed, and scientific-notation forms, and an embedded newline. The value returned by validated() / valid() is the raw, un-canonicalized input, so the attacker-controlled bytes flow through to the a…
Laravel: Validation exists rule can be bypassed with integer or boolean input on MySQL/MariaDB
受影响: composer:laravel/framework >= 13.0.0, < 13.43.0 → 13.43.0, composer:laravel/framework < 12.73.0 → 12.73.0 The exists and unique validation rules passed integer and boolean values from the request unchanged to the database query. On MySQL and MariaDB, comparing a string column with an integer casts the column to a number. As a result, JSON input such as 0, false or [0] could satisfy a rule like required|exists:invites,code on a non-numeric string column without a valid value. An unauthenticated attacker who can submit JSON could bypass "must reference an existing record" checks. PostgreSQL and SQLit…
Laravel: Nested sometimes validation rules skipped when value is __missing__
受影响: composer:laravel/framework >= 13.0.0, < 13.43.0 → 13.43.0, composer:laravel/framework < 12.72.0 → 12.72.0 When an attribute is nested or uses a wildcard (for example profile.age or items..quantity) and is validated with the sometimes rule, submitting the literal string __missing__ as its value causes the attribute to be treated as absent. All of its rules are skipped, the request passes validation, and the unvalidated value is returned by validated(). Applications may then store or process input that did not satisfy the declared rules. Top-level attributes and nested attributes without sometimes ar…
Laravel: Unbounded $ref chain resolution in Illuminate\JsonSchema\Deserializer allows denial of service
受影响: composer:laravel/framework < 12.73.0 → 12.73.0, composer:laravel/framework >= 13.0.0, < 13.43.0 → 13.43.0 Illuminate\JsonSchema\Deserializer resolved chained local $ref pointers recursively without limiting the depth of the chain. Applications that pass attacker-influenced JSON Schema data to JsonSchema::fromArray() or Deserializer::deserialize() could be sent a crafted schema containing a long linear chain of $ref references. Resolving it consumes memory and CPU rapidly and can exhaust the PHP memory limit, terminating the worker process. Repeated requests can sustain the outage. Applications that…
Laravel: XSS via unescaped Stringable values in Blade component attribute bag
受影响: composer:laravel/framework >= 13.0.0, < 13.43.0 → 13.43.0, composer:laravel/framework < 12.73.0 → 12.73.0 Blade component attribute bags did not HTML-escape non-Htmlable object values, such as Illuminate\Support\Stringable, passed to ComponentAttributeBag::merge() or prepends(). Applications that place user-controlled Stringable values (for example, the result of request()->string()) into component attributes could allow an attacker to break out of the attribute and inject arbitrary attributes, such as event handlers. This results in cross-site scripting that runs in the origin of the application.…
Laravel: File validation bypass via empty input field colliding with an upload in Request::all()
受影响: composer:laravel/framework >= 13.0.0, < 13.43.0 → 13.43.0, composer:laravel/framework < 12.73.0 → 12.73.0 In Laravel 13.x, Request::all() let a text input with the same name as an uploaded file take precedence over the file. If an attacker submitted an empty value alongside the file, request validation (including FormRequest validation) saw the empty value instead of the upload. Rules such as nullable, image, mimes and max were then skipped. Applications that validate an optional upload this way and then read it with $request->file() or $request->hasFile() could therefore store files that bypassed…
Laravel: Unescaped bound attributes on Blade dynamic components that resolve to class-based components
受影响: composer:laravel/framework >= 13.0.0, < 13.43.0 → 13.43.0, composer:laravel/framework < 12.73.0 → 12.73.0 Blade's did not HTML-escape bound attributes (:attr="$value") when the target resolved to a class-based component. If user-controlled data was bound to an attribute that is not a constructor parameter and the component outputs {{ $attributes }}, the value could break out of the HTML attribute and lead to cross-site scripting (XSS). The same component rendered with its normal tag escaped the value correctly. Anonymous component targets were not affected. Patches The fix is merged on the 13.x and…
Laravel: Storage Signed URL Mode Confusion
受影响: composer:laravel/framework >= 13.0.0, < 13.26.0 → 13.26.0, composer:laravel/framework < 12.67.0 → 12.67.0 A temporary signed read URL for a private local-storage object can be replayed as a PUT upload to the same URL path. The route signature authenticates only the URL and query string, while the read/write mode is determined later from request input. Impact This vulnerability allows overwrite of files using a read-only temporary signed URL. Patches Patched in [#61145](https://github.com/laravel/framework/pull/61145)
Laravel: Denial of service in email validation via oversized Unicode domains
受影响: composer:laravel/framework < 12.72.0 → 12.72.0, composer:laravel/framework >= 13.0.0, < 13.43.0 → 13.43.0 Applications using the default Laravel email validation rule on untrusted input can be exposed to excessive CPU and memory consumption when validating oversized email addresses with specially crafted non-ASCII domains. The reported attack triggers expensive Unicode normalization during native IDN conversion when the PHP intl extension is enabled. An unauthenticated attacker who can submit values to an endpoint using this rule may occupy PHP workers and degrade application availability. Exposure…
Laravel: SQL Injection in Laravel PostgreSQL Query Grammar
受影响: composer:laravel/framework >= 13.0.0, < 13.24.0 → 13.24.0, composer:laravel/framework < 12.67.0 → 12.67.0 Laravel's PostgreSQL Query Grammar does not escape embedded single quotes in JSON path attributes when compiling non-raw Query Builder APIs. A user-influenced JSON path / identifier segment can break out of the single-quoted SQL string literal context used by PostgreSQL JSON operators. Impact This can lead to SQL structure injection and WHERE-condition manipulation when an application passes user-influenced JSON path input into affected Query Builder APIs. Patches [#60923](https://github.com/la…
Laravel: IP Spoofing via Host Header in TrustProxies Middleware Forge/Vapor Auto-Detection
受影响: composer:laravel/framework >= 13.0.0, < 13.43.0 → 13.43.0, composer:laravel/framework < 12.73.0 → 12.73.0 On applications with no trusted proxies configured, Laravel could treat a request as coming through a trusted Forge or Vapor proxy based on a header the visitor controls. An attacker could use this to fake their IP address and make an insecure request look like HTTPS. This can let an attacker get around IP-based rate limits, such as login throttling, and IP allowlists. Only applications that haven't configured trusted proxies, and whose web server accepts any hostname, are affected. Patch - Fix…
Laravel: Markdown secured encoding bypassed when Blade views are cached
受影响: composer:laravel/framework >= 13.0.0, < 13.43.0 → 13.43.0, composer:laravel/framework < 12.73.0 → 12.73.0 Applications that enable Markdown::withSecuredEncoding() to escape user-controlled data in Markdown mail and mail notifications may not get that protection when views have been precompiled with php artisan view:cache or php artisan optimize. The cached view, compiled with the default echo format, is reused when mail views are rendered, so the secured encoder never runs. An attacker who controls data included in an email, such as a user name, could inject Markdown links or remote images into the…
Laravel: Eloquent mass-assignment guard bypass via attribute-name normalization mismatch
受影响: composer:laravel/framework >= 13.0.0, < 13.43.0 → 13.43.0, composer:laravel/framework < 12.73.0 → 12.73.0 Eloquent's $guarded protection can be bypassed with an alternate spelling of a guarded attribute name, such as a hyphen or whitespace variant of is_admin. The guard check compared the raw key, while set-mutator resolution normalized it with Str::studly() or Str::camel(). Applications are affected when a model uses a $guarded blacklist, defines a set-mutator (classic or Attribute-based) on a guarded attribute, and mass-assigns untrusted input such as $request->all(). A remote client could then w…
Laravel: Sanctum guard can resolve the lowest-ID user when evaluated inside an eager-loaded Eloquent relation definition
受影响: composer:laravel/framework < 12.73.0 → 12.73.0 When an authenticated user is first resolved while Eloquent is initializing an eager-loaded relation, Eloquent's relation constraints are temporarily disabled. A lazy key-constrained lookup made during that window, such as Sanctum's token owner lookup, runs without its key restriction. The guard can then return the lowest-ID user (often an administrator) instead of the token's owner. This affects applications that call the guard inside a relation definition used with eager loading, for example…
12月3日周四
แจ้งเตือน พบการโจมตีช่องโหว่ระดับ Critical ใน Plugin WP Rocket เสี่ยงถูกเข้าควบคุมเว็บไซต์ WordPress
ศูนย์ประสานการรักษาความมั่นคงปลอดภัยระบบคอมพิวเตอร์แห่ง…
Introducing Laravel Go
Laravel Go is in beta, bringing Laravel's routing, validation, models, queues, workflows, mail, and Inertia to Go's net/http and goroutines.
12月2日周三
พบการโจมตีผ่านช่องโหว่ WP Rocket เสี่ยงถูกเข้าควบคุมเว็บไซต์ WordPress
666/69 (IT) ประจำวันพุธที่ 2 ธันวาคม 2569 นักวิจัยด้านค…
Microsoft Details AI-Assisted ISP Attack That Compromised Three Peer Servers in 13 Minutes
Microsoft has disclosed details of a "rapid, adaptive intrusion" at an unspecified internet service provider (ISP) that involved the use of an artificial intelligence (AI)-native security testing platform called CyberStrikeAI. "The techniques were largely familiar, but the operation placed PHP shells on three peer servers within 13 minutes and repeatedly adjusted credentials, tools, and routes
TYPO3 AssociationのTYPO3におけるエラーメッセージによる情報漏えいに関する脆弱性
FileUploadまたはImageUpload要素を通じてアップロードされたファイルは、フォームセッション全体で同じままである推測困難なサブフォルダに保存されます。アップロードされたファイルの保存に失敗した場合、例えばファイル名がファイルシステムの長さ制限を超えた場合など、未加工のエラーメッセージがフロントエンドのユーザーに表示され、推測困難なフォルダ名やサーバーの一時アップロードディレクトリを含む保存パスが漏洩してしまいます。この情報により、攻撃者はフォームを通じてアップロードしたファイルの公開URLを特定できる可能性があります。ブラウザが実行可能なHTML文書などのファイルをアップロード可能なフォームの場合、TYPO3がフォームアップロード先フォルダに推奨するContent-Security-Policyを適用していないウェブサーバーではクロスサイトスクリプティングのリスクが生じる可能性があります。この脆弱性は、現在積極的に悪用されていることが確認されています。
「Joomla」にあらたな脆弱性 - 前回から1週間で再度更新
コンテンツマネジメントシステム(CMS)の「Joomla」に深刻な脆弱性が明らかとなった。開発チームは修正版を公開し、早急にアップデートするよう呼びかけている。
Weekly Report: Drupal coreに例外的状況に対する確認が不適切である脆弱性
Drupal coreに例外的状況に対する確認が不適切である脆弱性
Symfony: XXE (Local File Read) in Config XmlUtils::parse() via validateOnParse = true
受影响: composer:symfony/config < 5.4.56 → 5.4.56, composer:symfony/config >= 6.0.0, < 6.4.50 → 6.4.50, composer:symfony/config >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/config >= 8.0.0, < 8.1.11 → 8.1.11, composer:symfony/symfony < 5.4.56 → 5.4.56, composer:symfony/symfony >= 6.0.0, < 6.4.50 → 6.4.50, composer:symfony/symfony >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/symfony >= 8.0.0, < 8.1.11 → 8.1.11 Symfony\Component\Config\Util\XmlUtils::parse() sets $dom->validateOnParse = true immediately before calling loadXML(), and only rejects documents carrying a doctype afterwards. Enabling DTD validation makes libxml load and process the doctype during loadXML(), which includes resolving external entities. LIBXML_NONET blocks http:// but not file://, so a file:// entity is read from disk before the doctype rejection can run. This is the same defect as CVE-2026-45071 (GHSA-x6g4-fwcc-jj8w), which r…
Symfony: Programmatic Logins Skip the checkPostAuth() Method of User Checkers
受影响: composer:symfony/security-http < 5.4.56 → 5.4.56, composer:symfony/security-http >= 6.0.0, < 6.4.50 → 6.4.50, composer:symfony/security-http >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/security-http >= 8.0.0, < 8.1.11 → 8.1.11, composer:symfony/symfony < 5.4.56 → 5.4.56, composer:symfony/symfony >= 6.0.0, < 6.4.50 → 6.4.50, composer:symfony/symfony >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/symfony >= 8.0.0, < 8.1.11 → 8.1.11 Security::login() and UserAuthenticatorInterface::authenticateUser() log a user in programmatically, for example after a password reset or after an email verification link. The fix for CVE-2024-50341 made Security::login() call the checkPreAuth() method of the user checker of the firewall. But neither method ran checkPostAuth(): this method runs on the security.authentication.success event, which AuthenticatorManager::authenticateUser() did not dispatch. As a consequence, an account that a user…
Symfony: HtmlSanitizer Does Not URL-Sanitize srcset and imagesrcset Leading to Media Scheme and Host Allow-List Bypass
受影响: composer:symfony/html-sanitizer >= 6.1.0, < 6.4.50 → 6.4.50, composer:symfony/html-sanitizer >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/html-sanitizer >= 8.0.0, < 8.1.11 → 8.1.11, composer:symfony/symfony >= 6.1.0, < 6.4.50 → 6.4.50, composer:symfony/symfony >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/symfony >= 8.0.0, < 8.1.11 → 8.1.11 W3CReference::ATTRIBUTES marks srcset and imagesrcset as allowed attributes, but UrlAttributeSanitizer::getSupportedAttributes() does not list them, so no URL sanitizer is registered for either. The DOM visitor preserves an attribute value verbatim when no sanitizer handles it, so attacker-controlled responsive-image URL lists survive unchanged and the media scheme and host allow-lists are bypassed. The fixes for CVE-2026-45753 and CVE-2026-48761 extended the same attribute list but did not cov…
Symfony: HtmlSanitizer allowLinkHosts() / allowMediaHosts() Bypass via URLs Without a Well-Formed Authority: Incomplete Fix for CVE-2026-45066
受影响: composer:symfony/html-sanitizer >= 6.1.0, < 6.4.50 → 6.4.50, composer:symfony/html-sanitizer >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/html-sanitizer >= 8.0.0, < 8.1.11 → 8.1.11, composer:symfony/symfony >= 6.1.0, < 6.4.50 → 6.4.50, composer:symfony/symfony >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/symfony >= 8.0.0, < 8.1.11 → 8.1.11 UrlSanitizer parses URLs with league/uri, which follows RFC 3986. For a special scheme written with no authority slashes, such as http:evil.example, RFC 3986 yields scheme http, host null and path evil.example. The sanitizer then skips the host allow-list check because the host is null, and with allowRelativeLinks(true) it also waives the rejection of hostless URLs, so the URL is kept. Browsers parse the same string per the WHATWG URL standard. There, // is optional when the scheme differs from…
Symfony: HtmlSanitizer MetaRefreshAttributeSanitizer Matches Only a Narrow Subset of the Browser Refresh Grammar: Incomplete Fix for CVE-2026-48761
受影响: composer:symfony/html-sanitizer >= 6.1.0, < 6.4.50 → 6.4.50, composer:symfony/html-sanitizer >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/html-sanitizer >= 8.0.0, < 8.1.11 → 8.1.11, composer:symfony/symfony >= 6.1.0, < 6.4.50 → 6.4.50, composer:symfony/symfony >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/symfony >= 8.0.0, < 8.1.11 → 8.1.11 The MetaRefreshAttributeSanitizer introduced for CVE-2026-48761 sanitizes the refresh URL only when the content attribute matches: php /^(\s\d+\s[;,]\surl\s=\s)(["\']?)(.+?)\2(\s)$/i The browser grammar, the WHATWG shared declarative refresh steps, is broader: the separator after the time may be ASCII whitespace alone, with no ; or ,, and the url= keyword is optional. Directives the browser honours but the regex misses are returned unchanged, so the attacker URL skips UrlSanitizer entirely and…
Symfony: X509Authenticator and X509AuthenticationListener Read Escaped RFC 2253 Commas and Bare Slashes Inside a DN Value as RDN Boundaries
受影响: composer:symfony/security-http < 5.4.56 → 5.4.56, composer:symfony/security-http >= 6.0.0, < 6.4.50 → 6.4.50, composer:symfony/security-http >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/security-http >= 8.0.0, < 8.1.11 → 8.1.11, composer:symfony/symfony < 5.4.56 → 5.4.56, composer:symfony/symfony >= 6.0.0, < 6.4.50 → 6.4.50, composer:symfony/symfony >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/symfony >= 8.0.0, < 8.1.11 → 8.1.11 X509Authenticator extracts the user identifier from the Subject DN (Distinguished Name) that the web server passes in $_SERVER['SSL_CLIENT_S_DN']. The fix for CVE-2026-45063 anchored that extraction to an RDN (Relative Distinguished Name) boundary: php '#(?:^|[,/])\s(?:emailAddress|1\.2\.840\.113549\.1\.9\.1)=([^,/@]++@[^,/]++)#' (?:^|[,/]) is not escape-aware. The expression runs against an already serialized DN, so it cannot tell an RDN separator from a separator character that occurs inside…
Symfony: Ip Constraint public/private Modes Accept IPv4-Mapped and IPv4-Compatible IPv6 Addresses: SSRF Filter Bypass
受影响: composer:symfony/symfony < 5.4.56 → 5.4.56, composer:symfony/symfony >= 6.0.0, < 6.4.50 → 6.4.50, composer:symfony/symfony >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/symfony >= 8.0.0, < 8.1.11 → 8.1.11, composer:symfony/validator < 5.4.56 → 5.4.56, composer:symfony/validator >= 6.0.0, < 6.4.50 → 6.4.50, composer:symfony/validator >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/validator >= 8.0.0, < 8.1.11 → 8.1.11 Symfony\Component\Validator\Constraints\IpValidator decides the public, private and reserved classification for the Ip constraint's filtered modes solely from PHP's FILTER_FLAG_NO_PRIV_RANGE and FILTER_FLAG_NO_RES_RANGE flags, with no second check. Those flags are an incomplete basis for this purpose, in two ways. Whole ranges are covered by neither flag. 100.64.0.0/10 (RFC 6598 shared address space, which is genuinely routed internal space), the TEST-NET ranges 192.0.2.0/24, 198.51.100.0/24, 2…
Symfony: ScopingHttpClient Sends the Credentials of Its Default Scope to Other Origins Through Network-Path References
受影响: composer:symfony/http-client < 5.4.56 → 5.4.56, composer:symfony/http-client >= 6.0.0, < 6.4.50 → 6.4.50, composer:symfony/http-client >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/http-client >= 8.0.0, < 8.1.11 → 8.1.11, composer:symfony/symfony < 5.4.56 → 5.4.56, composer:symfony/symfony >= 6.0.0, < 6.4.50 → 6.4.50, composer:symfony/symfony >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/symfony >= 8.0.0, < 8.1.11 → 8.1.11 ScopingHttpClient applies the options of a scope, such as auth_bearer, auth_basic, headers or local_cert, to the URLs that match that scope only. A relative URL is resolved against the base_uri of the default scope, and the options of that scope were merged before the URL was resolved. A network-path reference such as //evil.example/steal carries its own host: it resolves to a URL outside of the base URI's origin, which no scope matches, yet it kept the merged options, so the request was sent t…
Symfony: ObjectNormalizer Dotted-Key Property-Path Traversal Bypasses #[Ignore] on Nested Objects
受影响: composer:symfony/serializer < 5.4.56 → 5.4.56, composer:symfony/serializer >= 6.4.9, < 6.4.50 → 6.4.50, composer:symfony/serializer >= 7.0.9, < 7.1.0 → 7.1.0, composer:symfony/serializer >= 7.1.2, < 7.4.23 → 7.4.23, composer:symfony/serializer >= 8.0.0, < 8.1.11 → 8.1.11, composer:symfony/symfony < 5.4.56 → 5.4.56, composer:symfony/symfony >= 6.4.9, < 6.4.50 → 6.4.50, composer:symfony/symfony >= 7.0.9, < 7.1.0 → 7.1.0, composer:symfony/symfony >= 7.1.2, < 7.4.23 → 7.4.23, composer:symfony/symfony >= 8.0.0, < 8.1.11 → 8.1.11 ObjectNormalizer::isAllowedAttribute() treats any attribute name containing . (and, from 6.4, [) as writable, and setAttributeValue() hands the name straight to PropertyAccessor::setValue(), which parses it as a property path and traverses into the nested object. A payload key such as customer.admin therefore writes to $order->customer->admin, bypassing the #[Ignore] metadata of the nested class. That metadata is only consulted when the nested object is denormalized in its own right, never when…
Symfony: Inline Fragments Let Untrusted Forwarded Headers Set the Host, Scheme and Port of the URLs Generated for the Main Request
受影响: composer:symfony/http-kernel < 5.4.56 → 5.4.56, composer:symfony/http-kernel >= 6.0.0, < 6.4.50 → 6.4.50, composer:symfony/http-kernel >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/http-kernel >= 8.0.0, < 8.1.11 → 8.1.11, composer:symfony/symfony < 5.4.56 → 5.4.56, composer:symfony/symfony >= 6.0.0, < 6.4.50 → 6.4.50, composer:symfony/symfony >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/symfony >= 8.0.0, < 8.1.11 → 8.1.11 When a page renders an inline fragment, with render() in Twig or with an ESI tag rendered inline because no gateway cache is used, SubRequestHandler adds 127.0.0.1 to the trusted proxies while the sub-request runs, with the trusted header set of the application, so that the internal sub-request is trusted. RouterListener::onKernelFinishRequest() runs inside that window: when the sub-request finishes, it rebuilds the router's RequestContext from the main request with RequestContext::fromRequest(…
Symfony: NoPrivateNetworkHttpClient Does Not Pin the Checked IP of Cached Hosts, Letting DNS Rebinding Enumerate Internal Ports: Incomplete Fix for CVE-2024-50342
受影响: composer:symfony/http-client < 5.4.56 → 5.4.56, composer:symfony/http-client >= 6.0.0, < 6.4.50 → 6.4.50, composer:symfony/http-client >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/http-client >= 8.0.0, < 8.1.11 → 8.1.11, composer:symfony/symfony < 5.4.56 → 5.4.56, composer:symfony/symfony >= 6.0.0, < 6.4.50 → 6.4.50, composer:symfony/symfony >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/symfony >= 8.0.0, < 8.1.11 → 8.1.11 NoPrivateNetworkHttpClient resolves the host of each request and checks the IP before connecting. To make the decorated client connect to that same IP, it passes the IP with the resolve option. It also caches the IP of each host. But it passed the IP with resolve only when it resolved a host for the first time. On the next requests to the same host, the decorated client resolved the host again by itself. An attacker who controls the DNS of a host can use DNS rebinding. The first lookup then ret…
Symfony: The Serializer Builds UploadedFile Objects From Request Data, Letting a Client Point an Upload at Any Server File
受影响: composer:symfony/serializer < 5.4.56 → 5.4.56, composer:symfony/serializer >= 6.0.0, < 6.4.50 → 6.4.50, composer:symfony/serializer >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/serializer >= 8.0.0, < 8.1.11 → 8.1.11, composer:symfony/symfony < 5.4.56 → 5.4.56, composer:symfony/symfony >= 6.0.0, < 6.4.50 → 6.4.50, composer:symfony/symfony >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/symfony >= 8.0.0, < 8.1.11 → 8.1.11 DataUriNormalizer builds \SplFileInfo, \SplFileObject and Symfony\Component\HttpFoundation\File\File objects from data URIs, for those exact types only. A property typed with a subclass of them, like UploadedFile, was left to ObjectNormalizer, which instantiated it through its constructor from the denormalized data, path, original name and test flag included. With #[MapRequestPayload] and a DTO holding an UploadedFile property, which is how uploads are mapped in Symfony 8.1, a request needs no…
Symfony: Host Placeholders Can Match the Start of the Path in Compiled URL Matchers, Bypassing Path-Based Access Control
受影响: composer:symfony/routing < 5.4.56 → 5.4.56, composer:symfony/routing >= 6.0.0, < 6.4.50 → 6.4.50, composer:symfony/routing >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/routing >= 8.0.0, < 8.1.11 → 8.1.11, composer:symfony/symfony < 5.4.56 → 5.4.56, composer:symfony/symfony >= 6.0.0, < 6.4.50 → 6.4.50, composer:symfony/symfony >= 7.0.0, < 7.4.23 → 7.4.23, composer:symfony/symfony >= 8.0.0, < 8.1.11 → 8.1.11 For routes that have a host, CompiledUrlMatcher matches the string $host.'.'.$pathinfo against the host regexp followed by the path regexp. A host placeholder could match /, so it could eat the start of the path, while UrlMatcher matches the host and the path separately and finds no route. Rules that look at the path, such as access_control entries and the pattern of firewalls, judge the real path, so they do not apply, while the controller of the route runs. With the route /admin/report/{id},…
A letter to the Laravel community
Taylor Otwell on fifteen years of Laravel, why he built Laravel Rust, and why Laravel PHP isn't going anywhere.
Laravel Rust is here, and Laravel Cloud now runs your framework
Meet Laravel Rust, a batteries-included web framework for Rust. Laravel Cloud now runs Rails, Django, Go and Node apps, plus Cloud MCP, Issues and more.
Introducing Laravel Cloud Model Gateway
Laravel Cloud Model Gateway is in early access. Mint one key, use any model, and set a budget per key, from the Cloud CLI, the Cloud MCP, or the dashboard.
Introducing Laravel Rust
Laravel Rust is in beta, with routing, typed validation, models, queues, durable workflows, mail, broadcasting, and Inertia in idiomatic Rust.
Laravel Rust: 18× the throughput of Laravel PHP
We benchmarked six frameworks on Laravel Cloud, comparing throughput, latency, CPU usage, local and production build times, and wake-from-sleep latency.
Introducing Laravel Converse and Agent Kit
Laravel Converse connects your AI agents to Slack, Telegram, GitHub, and the web. Agent Kit gives you a working Laravel agent in one command.
A tale of two communities: Ruby on Rails on Laravel Cloud
Laravel Cloud now hosts Ruby on Rails apps, with automatic setup, autoscaling, scale to zero, managed databases, and deploys from your agent.
Wait, Laravel Does Rails?
Rails developer Jeremy Smith spent months putting Laravel Cloud through its paces for Rails apps. Here’s how he approached it, and where things stand.
How Laravel Cloud packs Kubernetes nodes efficiently
Packing pods onto fewer Kubernetes nodes saves us money. Here's how we move your apps without you noticing to keep the platform lean and up-to-date.