| Titel | crmeb Tuoluojiang up to 972eaa7 (2026-11-13) Server Side Request Forgery |
|---|
| Beschreibung | A server-side request forgery vulnerability was found in Tuoluojiang (https://github.com/crmeb/Tuoluojiang), an open source enterprise office platform. The URL metadata service (app/Http/Service/WorkExternalContact/UrlMetadataService.php) fetches a user-supplied URL server-side. The private network guard isPrivateUrl() uses filter_var($host, FILTER_VALIDATE_IP) to decide whether the host is a literal IP. Short-form and encoded IP literals such as 127.1, 2130706433 (decimal) and 0x7f000001 (hex) are not recognized by FILTER_VALIDATE_IP, so the private-range check is skipped; cURL, however, resolves these formats via inet_aton semantics and connects to 127.0.0.1 or any internal address. A remote authenticated backend user can abuse this via the endpoint POST /work-reply-temp/url_metadata (url parameter) to make the server request internal network resources. In cloud environments this can expose the instance metadata endpoint and credentials. Affected version: main, commit 972eaa7. Affected file: app/Http/Service/WorkExternalContact/UrlMetadataService.php (functions isPrivateUrl/fetch). Affected parameter: url. CVSS 3.1 vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N (6.8 Medium). Mitigation: normalize the host with inet_pton()/gethostbyname() before validation and check the resolved address against private and reserved ranges, enforce destination scheme and port allow-lists, disable redirects, and pin the validated IP to prevent DNS rebinding. The vendor has been notified through GitHub (public issue). |
|---|
| Quelle | ⚠️ https://github.com/crmeb/Tuoluojiang/issues/1 |
|---|
| Benutzer | muzhi (UID 102993) |
|---|
| Einreichung | 13.11.2026 08:07 (vor 24 Tagen) |
|---|
| Moderieren | 06.12.2026 22:15 (24 days later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 450897 [crmeb Tuoluojiang bis 972eaa79ba745b58ca3bdeea43f65464963de51f Workexternalcontact URL Metadata Service UrlMetadataService.php isPrivateUrl url erweiterte Rechte] |
|---|
| Punkte | 20 |
|---|