-
Bug
-
Resolution: Fixed
-
Minor
-
1.9.19, 2.1.9, 2.2.6, 2.3.3, 2.3.9, 2.4.6, 2.5.2
-
MOODLE_19_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
-
MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
-
MDL-36818-master -
S3 repository and CAS client make improper use of CURLOPT_SSL_VERIFYHOST in curl library - they set it to the value of 1 instead of 2.
From the libcurl documentation:
> When CURLOPT_SSL_VERIFYHOST is 2, that certificate must indicate that the
> server is the server to which you meant to connect, or the connection fails.
>
> Curl considers the server the intended one when the Common Name field or a
> Subject Alternate Name field in the certificate matches the host name in the
> URL to which you told Curl to connect.
>
> When the value is 1, the certificate must contain a Common Name field, but it
> doesn't matter what name it says. (This is not ordinarily a useful setting).
Thanks to Alessandro Ghedini for reporting it.
The fixes has been sent to upstream developers:
https://github.com/tpyo/amazon-s3-php-class/pull/36
https://github.com/Jasig/phpCAS/pull/58
- has a non-specific relationship to
-
MDL-31938 Upgrade phpCAS library - fixing CVE-2012-1104 and CVE-2012-1105 and various problems
-
- Closed
-