Description
pig before 4.1.0 contains an authentication bypass vulnerability in the /register/password endpoint where password verification results are discarded, allowing any value as the current password. Remote attackers can submit a username with an incorrect current password to overwrite any account credential including the admin account and gain full administrative control.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
pig-mesh pig
Default version status: unaffected
0 to < 4.1.0affected
pkg:github/pig-mesh/pigReferences
- https://github.com/geo-chen/oss/blob/main/pig.md ↗
- https://github.com/pig-mesh/pig/issues/1249 ↗
- https://github.com/pig-mesh/pig/commit/ce958668f399110b97b3f1fcc5f517ff9bcfd535 ↗
- https://github.com/pig-mesh/pig/blob/v4.0.0/pig-upms/pig-upms-biz/src/main/java/com/pig4cloud/pig/admin/service/impl/SysUserServiceImpl.java#L650-L669 ↗
- https://github.com/pig-mesh/pig/blob/v4.0.0/pig-upms/pig-upms-biz/src/main/java/com/pig4cloud/pig/admin/controller/SysRegisterController.java#L21-L53 ↗
- https://github.com/pig-mesh/pig ↗
- https://www.vulncheck.com/advisories/pig-before-4.1.0-unverified-password-change-via-register-password ↗