Net::WoRMS versions before 1.901 for Perl allow SQL injection via SOAP response fields in the SQL output of printRecord.
Net::WoRMS is a tool for querying the World Register of Marine Species (WoRMS).
The SQL output format writes each record from the WoRMS SOAP service as an INSERT statement. String values escape ' as \', which standard SQL does not treat as an escape, and backslashes are left as they are. The AphiaID and valid_AphiaID values are written unquoted with no numeric check. The default endpoint uses plain HTTP.
An attacker who controls the SOAP response, including anyone on the network path to the default endpoint, can run arbitrary SQL when the generated script is loaded into a database.
Prioritize with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub