128 Stopping API security hacks cold (using ColdFusion API Manager) with Mike Brunt episode artwork

EPISODE · Mar 13, 2023 · 35 MIN

128 Stopping API security hacks cold (using ColdFusion API Manager) with Mike Brunt

from ColdFusion Alive

Mike Brunt talks about “Stopping API security hacks cold (using ColdFusion API Manager)” in this episode of the ColdFusion Alive Podcast with host Michaela Light. "We're going to be talking about API security and ColdFusion, which you may not have considered. This is a whole other attack service surface that your apps can be hacked by." Show notes Why does CF API security matter? Remote API calls: False assumption that APIs your app calls are secure - but they may not be Local API - is it secure? Are they still open but not used API use “APIs are extremely popular these days, with an average organization leveraging 15,564 APIs in total, up 201% year-on-year.” From this article in TechRadar, from April 2022. API use is increasing exponentially, which can expose serious security issues.  Common API use Legacy database Other company’s data eg USP shipping tracking Blockchain ChatGPT Amazon AWS features And many more What is API A portal into the middle of your code functionality and data Sends and returns XML and JSON CF API Security attacks Credential Stuffing: Malicious actors using stolen credentials to gain unauthorized access to API endpoints.  Pay close attention to the origin, rate and frequency of authorization requests. Cross-Site-Scripting XSS: As we can see, many of these attacks already exist in the website world.  Here malicious actors try to insert subversive scripts (often JavaScript) which can be executed.  In this case, validate all input using character escaping and filtering. Distributed Denial of Service Attacks DdoS: Impose limits on the amount and frequency of data inputs and outputs. Injection Attacks akin to SQL Injection: Check, sanitize and validate all the data inputs passed via API requests.  In addition ensure that data delivered via the API does not expose any possible vulnerabilities. Man-in-the-Middle Attacks: Ensure that all transmitted data is fully encrypted. Actions to protect your CF app APIs Inventory All Existing API Endpoints  - This should be a first step in determining what the attack surface could be. This audit should show the actual requirement of each API endpoint and any vulnerabilities shown in the table above. Both remote API calls and  Your own APIs Look at API Manager monitoring Scan code for CFHTTP calls and CFCs that expose API Build API Security For New Applications/Features At The Planning Stage  - As with the applications themselves, any security concerns should be in the very early planning stages of any new apps or features using API endpoints. Use Strong Authentication And Authorization On All API Endpoints  - Ideally, there should be no API endpoints that are not strongly secured, if so, these will be captured by the inventory-audit. Encrypt All Traffic Via TLS  - Ideally all traffic passing inward and outward should be encrypted and preferably via TLS. Use A Minimal Set Of Privileges  - Ensure that users, systems, devices, processes etc, only have the minimum amount of privileges needed to operate. Again, this should become apparent during the inventory/audit. Avoid using the database SA/System Administrator user in APIs Expose Only The Very Necessary Data  - the task of what data is exposed and passed should be determined via the API endpoint and not any application code. Again allow only totally necessary information. Validate All Input  - Validate all data passing in and out of an API endpoint; for instance, if the endpoint only needs integers, there should be no text passing through. Create And Enforce Rate Limiting  - Set limits which will reject excess transactions if they are exceeded. For instance 6,000 requests per day, per account; any requests which exceed this number will be rejected. Of course, this should be based on application needs. Use the API manager throttling features  Audit All API’s Before Deploying To Production  - This is to make sure that all necessary code/controls required for development/testing is not still in place when an app is deployed to production. Use A Web Application Firewall  – Always a good idea FuseGuard API Manager notifications Performance monitoring  Useful ColdFusion features From my experience in ColdFusion and Blockchains these can items be very relevant. cfajaximport - Controls the JavaScript files that are imported for use on pages that use ColdFusion AJAX cfajaxproxy - Creates a JavaScript proxy for a ColdFusion component, for use in an AJAX client. cfclient - Part of the CF11 mobile features for client side (JS) development. Enables output of CFcode to JS. cfdbinfo – (For oracles, off blockchain data) Lets you retrieve information about a data source, including details about the database, tables, queries, procedures, foreign keys, indexes, and version information about the database, driver, and JDBC. cfdump – (Classic for error-handling) Outputs the contents of a variable of any type for debugging purposes. cfhtmlbody - The cfhtmlbody tag can be useful for embedding JavaScript code, or placing other HTML tags that should go at the bottom of the page just before the closing body tag. cfhtmlhead - Writes text to the head section of a generated HTML page. It is useful for embedding JavaScript code. cfhttp - Generates an HTTP request and parses the response from the server into a structure. cfinclude - Includes the content from the referenced file (template).  cflog – A particularly important utility which writes a message to a log file. cfquery – Classic for interactions with oracles with off blockchain  cfsprydataset – Creates a Spry data set; can use bind parameters to get data from ColdFusion AJAX controls to populate the data set. cfstoredproc – Another oracles related item) Executes a stored procedure in a server database. Itspecifies database connection information and identifies the stored procedure. cfthread - The cfthread tag enables multithreaded programming in ColdFusion. cfwebsocket - Includes the required JavaScript files in your CFM template and creates a global JavaScript reference to the WebSocket Object on the client-side. All of this information came from Mentioned in this episode Mike episode on CF and blockchain CFA pod ___ Other CFA pod API manager  Adobe API Manager podcast  API Manager download   http://{IP Address}:9000/admin/login.html https://helpx.adobe.com/coldfusion/api-manager/api-manager-publisher.html Getting started with API manager  Listen to the Audio Bio Mike Brunt was born in Northern England in 1948. It was a time of austerity for the British people who had rationing in place due to the effects of the Second World War. He pursued a management career in transportation equipment, becoming Director of Excess Stock at British Leyland Truck and Bus. He moved to the USA in 1989 and eventually took up a career path in technology, coinciding with the emergence of the World Wide Web. Mike then became involved in Teleradiology, working alongside Kodak, Lucent Technologies and GTE. Mike is still deeply involved in technology, being a specialist in capacity planning and tuning for Java systems. He is becoming ever more involved with Blockchain and peer-to-peer-based infrastructure. Specialties: Java server engineer, Blockchain infrastructure engineer, ColdFusion, networking, database design, server troubleshooting, teleradiology, and web infrastructures. In addition to his career path, Mike is a composer and musician, having been involved in creating 11 electronic music albums. Mike also paints with well over 100 paintings located in Los Angeles, New Zealand and Eugene, Oregon. Lastly, Mike is a Permaculture Certified Designer and lives on a 5-acre farm in the Eugene area of Oregon. Mike Brunt is also known as CF Whisperer. Links Mike Brunt | LinkedIn Twitter FaceBook Instagram JVM Whisperer Foodscaping substack    Interview transcript Michaela Light 0:02 Welcome back to the show. I'm here with Mike Brandt. And we're going to be talking about API security and ColdFusion, which you may not have considered. This is a whole other attack service surface that your apps can be hacked by. Mike has been doing cold fusion for basically forever since version 1.5 25 years ago or there abouts. And he used to work for a company called OLED, which some of you may remember were the people who created the original ColdFusion. Then he worked for Macromedia. I don't if you actually work for Adobe, Mike or not. But he used to fly around the country fixing people's slow ColdFusion servers and did a lot of work for Fortune 1000 companies in the United States, maybe or in other countries, too. He's a Java JVM expert blockchain expert does a lot of troubleshooting kind of stuff. So in addition, he is a composer and musician, and has published 11 albums and painted 100 paintings. And also, he's got a heavy interest in permaculture and self sustainable foods. Rene science man, I would say, Welcome, Mike. Mike Brunt 1:20 Thank you. That was a rather lovely introduction, man. I appreciate that. Yeah. Michaela Light 1:25 So you're welcome. What? What does? Why is it so important to look at security of your API's in your ColdFusion apps? Mike Brunt 1:35 Well, you know, my experience has been a huge threat and said, I've been to many places over many years, you know, in terms of helping people and I've seen the increase in the use of API's. And they, let's look at two ends if we can. So let's look at remote API. So somebody's giving us a client, an API that we can connect to. Most most people that I've seen, and I'm this is not a criticism that they assume that the end the

NOW PLAYING

128 Stopping API security hacks cold (using ColdFusion API Manager) with Mike Brunt

0:00 35:50

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

LIGHTS, CAMERA, SMILE! Creatives Club Media Lights, Camera, Smile, is a podcast for anyone with a dream to share something with the world, out of the overflow of themselves - be it their mind, their heart, their personalities, and much more. Each of us are alive in this moment in time, with an innate ability to have ideas and create various things to benefit both ourselves and the people around us for a reason, and here, you will find the encouragement, the inspiration, and the motivation to do just that. Hosted by Cicily, founder of Creatives Club, she dives into various topics surrounding creativity and business. Exploring entrepreneurship for creatives in a corporate reality, sharing tips and tricks in a media centered company, answering questions regarding what a creative actually is are just a few of the things discussed on this podcast. Be encouraged to create for yourself as Cicily gets vulnerable by pivoting the camera to herself for the first time.To submit questions for Cicily to answer, or have her address certain t Tao Te Ching by Laozi (Author), Stephen Mitchell (Full Audiobook) Laozi Lao-tzu's Tao Te Ching, or Book of the Way, is the classic manual on the art of living, and one of the wonders of the world. In eighty-one brief chapters, the Tao Te Ching looks at the basic predicament of being alive and gives advice that imparts balance and perspective, a serene and generous spirit. This book is about wisdom in action. It teaches how to work for the good with the effortless skill that comes from being in accord with the Tao (the basic principle of the universe) and applies equally to good government and sexual love; to child rearing, business, and ecology.Stephen Mitchell's bestselling version has been widely acclaimed as a gift to contemporary culture. My Messy, Human Life Sheena Grund A new adventure of being alive in this messy, difficult, and beautiful human life... topics to be discussed at different times: life, unlearning, disability, faith, love, Spirit... really all the things! It'll be messy (as in all over the place), but that literally in the title of the podcast, so hopefully it's not a surprise! Also, life is unpredictable and beautiful, which I hope this podcast will be, too. Sounds with Simon Tesler Simon Tesler Music history comes alive. Forgotten favourites & undiscovered gems from the rock, soul & reggae archive and some of the stories behind the songs, with Simon Tesler, former publisher and editor of 1980s music, media and pop culture magazine BLITZ.

Frequently Asked Questions

How long is this episode of ColdFusion Alive?

This episode is 35 minutes long.

When was this ColdFusion Alive episode published?

This episode was published on March 13, 2023.

What is this episode about?

Mike Brunt talks about “Stopping API security hacks cold (using ColdFusion API Manager)” in this episode of the ColdFusion Alive Podcast with host Michaela Light. "We're going to be talking about API security and ColdFusion, which you may not...

Can I download this ColdFusion Alive episode?

Yes, you can download this episode by clicking the download button on the episode player, or subscribe to the podcast in your preferred podcast app for automatic downloads.
URL copied to clipboard!