DrayTek Vigor2960 swmconfigupload mainfunction.cgi cgiEscape path traversal
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
A security flaw has been discovered in DrayTek Vigor2960 1.5.1.6 Revision 8218. The affected element is the function cgiEscape of the file /cgi-bin/mainfunction.cgi of the component swmconfigupload. The manipulation of the argument multipart results in path traversal. It is possible to launch the attack remotely. The exploit has been released to the public and may be used for attacks. Upgrading to version 1.5.1.7 is sufficient to fix this issue. The affected component should be upgraded. The vendor explains: "2960 1.5.1.7 has corrected many security issues. And 2960 is EoS with limited support, only major issues would be reviewed(e.g. unauthenticated vuln.)". This vulnerability only affects products that are no longer supported by the maintainer.
Text from CVE List
Affected versions 2
- Vigor2960affected: 1.5.1.6 Revision 8218CVE List
- Vigor2960unaffected: 1.5.1.7CVE List
References 6
- fw.draytek.com.tw/Vigor2960/Firmware/v1.5.1.7/Vigor2960_v1.5.1.7.zipFixvia CVE List
- vuldb.com/cve/CVE-2026-113395Advisoryvia CVE List
- vuldb.com/submit/992248Advisoryvia CVE List
- github.com/yikesoftware/DrayTek_Vigor2960_Security_Analysis/tree/main/cases/DRV2960-0012-authenticated-swmconfigupload-fieldname-path-traversal-clobberExploitvia CVE List
- vuldb.com/vuln/422671Referencevia CVE List
- vuldb.com/vuln/422671/ctiReferencevia CVE List