{"id":"CVE-2021-21385","state":"PUBLISHED","title":"Disabled hostname verification and accepting self-signed certificates","description":"Mifos-Mobile Android Application for MifosX is an Android Application built on top of the MifosX Self-Service platform. Mifos-Mobile before commit e505f62 disables HTTPS hostname verification of its HTTP client. Additionally it accepted any self-signed certificate as valid. Hostname verification is an important part when using HTTPS to ensure that the presented certificate is valid for the host. Disabling it can allow for man-in-the-middle attacks. Accepting any certificate, even self-signed ones allows man-in-the-middle attacks. This problem is fixed in mifos-mobile commit e505f62.","publishedAt":"2021-03-24T20:45:17.000Z","updatedAt":"2024-08-03T18:09:15.930Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["openMF mifos-mobile"],"affected":[{"vendor":"openMF","product":"mifos-mobile","versions":[{"version":"<= 7ed4f22","status":"affected"}]}],"references":["https://github.com/openMF/mifos-mobile/security/advisories/GHSA-9657-33wf-rmvx","https://openmf.github.io/mobileapps.github.io/","https://github.com/openMF/mifos-mobile/commit/e505f62b92b19292bfdabd6e996ab76abfeaa90d"],"weaknesses":["CWE-295","CWE-297"],"ingestedAt":"2026-10-29T19:47:59.168Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/21xxx/CVE-2021-21385.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-21385","state":"PUBLISHED","datePublished":"2021-03-24T20:45:17.000Z","dateUpdated":"2024-08-03T18:09:15.930Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2020-12-22T00:00:00.000Z"},"containers":{"cna":{"title":"Disabled hostname verification and accepting self-signed certificates","descriptions":[{"lang":"en","value":"Mifos-Mobile Android Application for MifosX is an Android Application built on top of the MifosX Self-Service platform. Mifos-Mobile before commit e505f62 disables HTTPS hostname verification of its HTTP client. Additionally it accepted any self-signed certificate as valid. Hostname verification is an important part when using HTTPS to ensure that the presented certificate is valid for the host. Disabling it can allow for man-in-the-middle attacks. Accepting any certificate, even self-signed ones allows man-in-the-middle attacks. This problem is fixed in mifos-mobile commit e505f62."}],"affected":[{"vendor":"openMF","product":"mifos-mobile","versions":[{"version":"<= 7ed4f22","status":"affected"}]}],"references":[{"url":"https://github.com/openMF/mifos-mobile/security/advisories/GHSA-9657-33wf-rmvx","tags":["x_refsource_CONFIRM"]},{"url":"https://openmf.github.io/mobileapps.github.io/","tags":["x_refsource_MISC"]},{"url":"https://github.com/openMF/mifos-mobile/commit/e505f62b92b19292bfdabd6e996ab76abfeaa90d","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-295","description":"CWE-295: Improper Certificate Validation","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-297","description":"CWE-297: Improper Validation of Certificate with Host Mismatch","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","dateUpdated":"2021-03-24T20:45:17.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa"},"source":{"advisory":"GHSA-9657-33wf-rmvx","discovery":"UNKNOWN"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-21385","STATE":"PUBLIC","TITLE":"Disabled hostname verification and accepting self-signed certificates"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"mifos-mobile","version":{"version_data":[{"version_value":"<= 7ed4f22"}]}}]},"vendor_name":"openMF"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Mifos-Mobile Android Application for MifosX is an Android Application built on top of the MifosX Self-Service platform. Mifos-Mobile before commit e505f62 disables HTTPS hostname verification of its HTTP client. Additionally it accepted any self-signed certificate as valid. Hostname verification is an important part when using HTTPS to ensure that the presented certificate is valid for the host. Disabling it can allow for man-in-the-middle attacks. Accepting any certificate, even self-signed ones allows man-in-the-middle attacks. This problem is fixed in mifos-mobile commit e505f62."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-295: Improper Certificate Validation"}]},{"description":[{"lang":"eng","value":"CWE-297: Improper Validation of Certificate with Host Mismatch"}]}]},"references":{"reference_data":[{"name":"https://github.com/openMF/mifos-mobile/security/advisories/GHSA-9657-33wf-rmvx","refsource":"CONFIRM","url":"https://github.com/openMF/mifos-mobile/security/advisories/GHSA-9657-33wf-rmvx"},{"name":"https://openmf.github.io/mobileapps.github.io/","refsource":"MISC","url":"https://openmf.github.io/mobileapps.github.io/"},{"name":"https://github.com/openMF/mifos-mobile/commit/e505f62b92b19292bfdabd6e996ab76abfeaa90d","refsource":"MISC","url":"https://github.com/openMF/mifos-mobile/commit/e505f62b92b19292bfdabd6e996ab76abfeaa90d"}]},"source":{"advisory":"GHSA-9657-33wf-rmvx","discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/openMF/mifos-mobile/security/advisories/GHSA-9657-33wf-rmvx","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://openmf.github.io/mobileapps.github.io/","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/openMF/mifos-mobile/commit/e505f62b92b19292bfdabd6e996ab76abfeaa90d","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T18:09:15.930Z"}}]}}}