VDB
Sign up
CRITICAL9.3

GHSA-phrq-pc6r-f6gh

MantisBT is vulnerable to authentication bypass through the SOAP API on MySQL

Quick fix

GHSA-phrq-pc6r-f6gh — mantisbt/mantisbt: upgrade to the fixed version with the command below.

composer require mantisbt/mantisbt:^2.28.1

Details

Mantis Bug Tracker instances running on MySQL and compatible databases are affected by an authentication bypass vulnerability in the SOAP API, as a result of improper type checking on the password parameter.

Other database backends are not affected, as they do not perform implicit type conversion from string to integer.

### Impact Using a crafted SOAP envelope, an attacker knowing the victim's username is able to login to the SOAP API with their account without knowledge of the actual password, and execute any API function they have access to.

### Patches * b349e5c890eeda9bd82e7c7e14479853f8a30d9f

### Workarounds - [Disabling the SOAP API](https://mantisbt.org/docs/master/en-US/Admin_Guide/html-desktop/#admin.config.api.disable) significantly reduces the risk, but still allows the attacker to retrieve user account information including email address and real name.

### Resources - https://mantisbt.org/bugs/view.php?id=36902

### Credits MantisBT thanks Alexander Philiotis of SynerComm for discovering and responsibly reporting the issue.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/mantisbt/mantisbt
Introduced in: 0Fixed in: 2.28.1
Fixcomposer require mantisbt/mantisbt:^2.28.1

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:composer/mantisbt/mantisbt"]}'